Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 112.2 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 186.5 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1731/0.1731, allocations: 37.99 MB / 308.6 MB, free: 6.223 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 64.47 kB / 374.7 MB, free: 3.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2892, allocations: 55.24 MB / 430 MB, free: 19.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004477/0.2937, allocations: 3.708 MB / 433.7 MB, free: 16.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.2957, allocations: 1.641 MB / 435.3 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.2959, allocations: 11.94 kB / 435.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008513/0.2968, allocations: 235.2 kB / 435.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005333/0.2973, allocations: 267.2 kB / 435.8 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.2976, allocations: 111.8 kB / 435.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004503/0.2981, allocations: 0.5767 MB / 436.5 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.2984, allocations: 134 kB / 436.6 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.2986, allocations: 131.4 kB / 436.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.2988, allocations: 171.4 kB / 436.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.2988, allocations: 8 kB / 436.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.2992, allocations: 403 kB / 437.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.821e-05/0.2993, allocations: 99.77 kB / 437.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.909e-05/0.2994, allocations: 103.5 kB / 437.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.2998, allocations: 370.9 kB / 437.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2998, allocations: 0 / 437.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.2998, allocations: 0 / 437.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2998, allocations: 3.938 kB / 437.9 MB, free: 11.91 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005738/0.3004, allocations: 0.5181 MB / 438.4 MB, free: 11.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3005, allocations: 8.031 kB / 438.4 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.3005, allocations: 54.73 kB / 438.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009078/0.3014, allocations: 112.5 kB / 438.6 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.3017, allocations: 255.8 kB / 438.8 MB, free: 10.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3017, allocations: 12.38 kB / 438.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.3018, allocations: 20.38 kB / 438.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.3022, allocations: 333.5 kB / 439.2 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.3022, allocations: 0 / 439.2 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.3023, allocations: 12 kB / 439.2 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.3023, allocations: 19.98 kB / 439.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003881/0.3027, allocations: 311.7 kB / 439.5 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.3039, allocations: 1.26 MB / 440.8 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.3042, allocations: 180.9 kB / 441 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.3043, allocations: 101.7 kB / 441.1 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.3043, allocations: 0 / 441.1 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.3044, allocations: 38.56 kB / 441.1 MB, free: 8.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.3044, allocations: 0 / 441.1 MB, free: 8.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001293/0.3057, allocations: 0.6584 MB / 441.8 MB, free: 7.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.3057, allocations: 85.05 kB / 441.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3058, allocations: 194.2 kB / 442 MB, free: 7.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.3059, allocations: 29.7 kB / 442.1 MB, free: 7.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.3059, allocations: 155.9 kB / 442.2 MB, free: 7.273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.306, allocations: 67.03 kB / 442.3 MB, free: 7.207 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.306, allocations: 41.7 kB / 442.3 MB, free: 7.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.35e-05/0.3061, allocations: 334.8 kB / 442.7 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.3062, allocations: 83.95 kB / 442.7 MB, free: 6.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3064, allocations: 140.5 kB / 442.9 MB, free: 6.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.3066, allocations: 253.5 kB / 443.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3066, allocations: 8 kB / 443.1 MB, free: 6.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004939/0.3071, allocations: 348.9 kB / 443.5 MB, free: 5.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3071, allocations: 11.98 kB / 443.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3072, allocations: 3.938 kB / 443.5 MB, free: 5.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003535/0.3075, allocations: 93.06 kB / 443.6 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.3077, allocations: 39.98 kB / 443.6 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.3094, allocations: 1.956 MB / 445.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.3096, allocations: 12 kB / 445.6 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.3096, allocations: 15.98 kB / 445.6 MB, free: 3.676 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.3097, allocations: 153.7 kB / 445.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.3098, allocations: 19.75 kB / 445.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/0.3103, allocations: 328.5 kB / 446.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3103, allocations: 4 kB / 446.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.3103, allocations: 3.938 kB / 446.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3103, allocations: 0 / 446.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009183/0.3113, allocations: 0.7426 MB / 446.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3113, allocations: 0 / 446.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-05/0.3114, allocations: 31.92 kB / 446.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002461/0.3116, allocations: 76.84 kB / 446.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.3117, allocations: 11.98 kB / 447 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.3131, allocations: 1.822 MB / 448.8 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3131, allocations: 0 / 448.8 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.3137, allocations: 410.5 kB / 449.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.3138, allocations: 92.91 kB / 449.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.3138, allocations: 8 kB / 449.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.3139, allocations: 8 kB / 449.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.314, allocations: 23.84 kB / 449.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.314, allocations: 8 kB / 449.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.3141, allocations: 148.1 kB / 449.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3141, allocations: 0 / 449.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004405/0.3146, allocations: 64 kB / 449.5 MB, free: 15.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008047/0.3154, allocations: 0.9418 MB / 450.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006371/0.316, allocations: 375.1 kB / 450.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3161, allocations: 0 / 450.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.3164, allocations: 254.8 kB / 451.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.3168, allocations: 42.84 kB / 451.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.3198, allocations: 2.695 MB / 453.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.3202, allocations: 0.7636 MB / 454.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.3203, allocations: 41.52 kB / 454.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.3204, allocations: 59.42 kB / 454.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of SimCode: time 1.693e-06/0.3204, allocations: 0 / 454.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.3367, allocations: 4.909 MB / 459.6 MB, free: 5.188 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.337, allocations: 220.7 kB / 459.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.202, allocations: 7.938 kB / 459.8 MB, free: 4.93 MB / 334.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)