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.0007428/0.0007428, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.0009327/0.0009328, allocations: 182 kB / 17.56 MB, free: 6.203 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.215/1.215, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1678/0.1678, allocations: 38.06 MB / 310.1 MB, free: 5.906 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.0005566/0.0005566, allocations: 12.61 kB / 377.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.224, allocations: 56.32 MB / 433.6 MB, free: 18.63 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.003022/0.2271, allocations: 3.346 MB / 436.9 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.2286, allocations: 1.606 MB / 438.6 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.2288, allocations: 7.938 kB / 438.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.2289, allocations: 31.77 kB / 438.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.2294, allocations: 267.1 kB / 438.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.2296, allocations: 111.7 kB / 439 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000366/0.23, allocations: 0.569 MB / 439.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004971/0.2305, allocations: 326.8 kB / 439.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.2307, allocations: 127.4 kB / 440 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.2309, allocations: 159.4 kB / 440.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.2309, allocations: 8 kB / 440.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.2313, allocations: 399 kB / 440.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.871e-05/0.2314, allocations: 103.7 kB / 440.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.253e-05/0.2315, allocations: 117.2 kB / 440.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.2318, allocations: 378.8 kB / 441.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2318, allocations: 0 / 441.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2318, allocations: 0 / 441.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.2318, allocations: 0 / 441.1 MB, free: 11.06 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.000532/0.2324, allocations: 490.7 kB / 441.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2324, allocations: 8.031 kB / 441.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.75e-05/0.2325, allocations: 54.73 kB / 441.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008546/0.2333, allocations: 108.5 kB / 441.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.2336, allocations: 259.7 kB / 442 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.2336, allocations: 16.38 kB / 442 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.2336, allocations: 24.34 kB / 442.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.234, allocations: 325.6 kB / 442.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.234, allocations: 7.875 kB / 442.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.2341, allocations: 11.98 kB / 442.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.2341, allocations: 15.98 kB / 442.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.2345, allocations: 311.7 kB / 442.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.2357, allocations: 1.264 MB / 444 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.2359, allocations: 168.9 kB / 444.1 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.236, allocations: 105.7 kB / 444.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.2361, allocations: 4 kB / 444.2 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.2361, allocations: 34.56 kB / 444.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.2361, allocations: 0 / 444.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001262/0.2374, allocations: 0.6665 MB / 444.9 MB, free: 6.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.2374, allocations: 92.88 kB / 445 MB, free: 6.848 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.2375, allocations: 194.4 kB / 445.2 MB, free: 6.645 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.2376, allocations: 25.7 kB / 445.2 MB, free: 6.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.2376, allocations: 155.9 kB / 445.4 MB, free: 6.457 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.2377, allocations: 67.08 kB / 445.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.2377, allocations: 25.72 kB / 445.5 MB, free: 6.359 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.2378, allocations: 326.8 kB / 445.8 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.527e-05/0.2379, allocations: 79.95 kB / 445.9 MB, free: 5.953 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.238, allocations: 152.5 kB / 446 MB, free: 5.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.2382, allocations: 255.4 kB / 446.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2382, allocations: 3.938 kB / 446.3 MB, free: 5.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004825/0.2387, allocations: 353.8 kB / 446.6 MB, free: 5.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2388, allocations: 8 kB / 446.6 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2388, allocations: 3.938 kB / 446.6 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003343/0.2391, allocations: 96.77 kB / 446.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.2393, allocations: 35.92 kB / 446.8 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.2409, allocations: 1.944 MB / 448.7 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.2411, allocations: 19.89 kB / 448.7 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.2411, allocations: 8 kB / 448.7 MB, free: 2.883 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 9.7e-05/0.2412, allocations: 157.6 kB / 448.9 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.2412, allocations: 19.81 kB / 448.9 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005002/0.2417, allocations: 324.5 kB / 449.2 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2418, allocations: 4 kB / 449.2 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.2418, allocations: 0 / 449.2 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.2418, allocations: 3.984 kB / 449.2 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008645/0.2426, allocations: 0.7445 MB / 450 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2427, allocations: 0 / 450 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.2428, allocations: 27.92 kB / 450 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.243, allocations: 76.78 kB / 450.1 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.243, allocations: 4 kB / 450.1 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.2445, allocations: 1.834 MB / 451.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2445, allocations: 0 / 451.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.2451, allocations: 410.5 kB / 452.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.2452, allocations: 96.92 kB / 452.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.2452, allocations: 4 kB / 452.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2453, allocations: 7.984 kB / 452.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.2454, allocations: 15.92 kB / 452.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.2454, allocations: 12 kB / 452.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.2455, allocations: 144.1 kB / 452.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2455, allocations: 3.938 kB / 452.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000418/0.2459, allocations: 68 kB / 452.7 MB, free: 14.68 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.0008267/0.2468, allocations: 0.9458 MB / 453.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006304/0.2474, allocations: 366.3 kB / 454 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2474, allocations: 0 / 454 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003733/0.2478, allocations: 267.9 kB / 454.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.2482, allocations: 35.42 kB / 454.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.2513, allocations: 2.716 MB / 457 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.2516, allocations: 0.7713 MB / 457.8 MB, free: 9.359 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.2517, allocations: 33.53 kB / 457.8 MB, free: 9.328 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.754e-05/0.2518, allocations: 67.41 kB / 457.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2519, allocations: 0 / 457.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.2687, allocations: 4.779 MB / 462.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.269, allocations: 231.9 kB / 462.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.002, allocations: 0 / 462.9 MB, free: 4.281 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)