Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",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.001066/0.001066, allocations: 113.3 kB / 16.63 MB, free: 6.812 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.001042/0.001042, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 222.9 MB / 241.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1623/0.1623, allocations: 38.02 MB / 329.4 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 66.06 kB / 398.4 MB, free: 34.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07548/0.07664, allocations: 58.06 MB / 456.4 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003987/0.08065, allocations: 3.708 MB / 460.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.08231, allocations: 1.547 MB / 461.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.08243, allocations: 15.88 kB / 461.7 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006412/0.08308, allocations: 235.3 kB / 461.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004421/0.08354, allocations: 263.1 kB / 462.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.08377, allocations: 111.8 kB / 462.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.08407, allocations: 342.9 kB / 462.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.08434, allocations: 153.9 kB / 462.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.08452, allocations: 143.4 kB / 462.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.08471, allocations: 179.3 kB / 463.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.08474, allocations: 12 kB / 463.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.08513, allocations: 335.1 kB / 463.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.838e-05/0.08522, allocations: 99.75 kB / 463.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.124e-05/0.08532, allocations: 111.5 kB / 463.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.08569, allocations: 374.9 kB / 464 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.0857, allocations: 0 / 464 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.08571, allocations: 7.938 kB / 464 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.08572, allocations: 0 / 464 MB, free: 0.6758 MB / 334.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.0005386/0.08626, allocations: 0.5103 MB / 464.5 MB, free: 120 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.0863, allocations: 15.89 kB / 464.6 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.08636, allocations: 54.7 kB / 464.6 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007857/0.08715, allocations: 100.5 kB / 464.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.0874, allocations: 262.7 kB / 465 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.08743, allocations: 24.31 kB / 465 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.08747, allocations: 16.38 kB / 465 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.08788, allocations: 321.8 kB / 465.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.0879, allocations: 0 / 465.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.08793, allocations: 8 kB / 465.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.08796, allocations: 23.98 kB / 465.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003643/0.08833, allocations: 287.8 kB / 465.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.08974, allocations: 1.271 MB / 466.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.09013, allocations: 233.1 kB / 467.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.09027, allocations: 101.7 kB / 467.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.0903, allocations: 7.984 kB / 467.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.09033, allocations: 34.56 kB / 467.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.09033, allocations: 0 / 467.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006782/0.09101, allocations: 440.3 kB / 467.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.09107, allocations: 85.23 kB / 467.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.09123, allocations: 198.3 kB / 468 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.09125, allocations: 25.7 kB / 468 MB, free: 12.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.09133, allocations: 159.8 kB / 468.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.09138, allocations: 59.19 kB / 468.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.09146, allocations: 53.69 kB / 468.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.349e-05/0.09155, allocations: 326.8 kB / 468.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.09166, allocations: 87.95 kB / 468.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.09182, allocations: 154.1 kB / 468.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.0921, allocations: 268.3 kB / 469.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.0921, allocations: 0 / 469.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000359/0.09247, allocations: 291.7 kB / 469.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.09249, allocations: 8 kB / 469.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.0925, allocations: 3.938 kB / 469.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.09252, allocations: 4 kB / 469.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.09274, allocations: 55.91 kB / 469.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.09275, allocations: 4 kB / 469.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.09289, allocations: 20.27 kB / 469.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.09292, allocations: 8 kB / 469.5 MB, free: 10.86 MB / 350.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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.09304, allocations: 161.7 kB / 469.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.09309, allocations: 19.72 kB / 469.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.09342, allocations: 235.2 kB / 469.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.09343, allocations: 0 / 469.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.09344, allocations: 0 / 469.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.09345, allocations: 4 kB / 469.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.09453, allocations: 0.9554 MB / 470.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.09455, allocations: 4 kB / 470.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.09469, allocations: 35.92 kB / 470.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.0947, allocations: 4 kB / 470.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.09472, allocations: 16.42 kB / 470.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.09473, allocations: 12 kB / 470.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.09474, allocations: 11.88 kB / 470.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.09509, allocations: 415.5 kB / 471.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.09514, allocations: 96.91 kB / 471.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.09518, allocations: 11.94 kB / 471.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.09534, allocations: 11.98 kB / 471.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.09538, allocations: 27.86 kB / 471.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.0954, allocations: 8 kB / 471.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.09552, allocations: 155 kB / 471.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09552, allocations: 0 / 471.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.09585, allocations: 52 kB / 471.7 MB, free: 8.453 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005184/0.09638, allocations: 0.9403 MB / 472.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.09667, allocations: 223.7 kB / 472.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.09669, allocations: 0 / 472.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.09681, allocations: 97.27 kB / 472.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.09722, allocations: 53.3 kB / 473 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.09962, allocations: 2.744 MB / 475.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.09989, allocations: 0.7632 MB / 476.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.1, allocations: 57.48 kB / 476.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.1001, allocations: 63.41 kB / 476.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1001, allocations: 0 / 476.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9044/1.005, allocations: 3.958 MB / 480.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00028/1.005, allocations: 203.5 kB / 480.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.907, allocations: 3.625 kB / 480.8 MB, free: 15.07 MB / 366.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)