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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001848/0.001848, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.794/1.794, allocations: 194.3 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001646/0.001646, allocations: 120.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1841/0.1841, allocations: 37.92 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.305e-05/5.307e-05, allocations: 4 kB / 397.6 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3528, allocations: 53.21 MB / 450.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.4846, allocations: 89.61 MB / 0.5278 GB, free: 3.719 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.4849, allocations: 91.8 kB / 0.5279 GB, free: 3.633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3298/0.8147, allocations: 14.19 MB / 0.5417 GB, free: 85.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.8148, allocations: 0 / 0.5417 GB, free: 85.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.8148, allocations: 7.406 kB / 0.5417 GB, free: 85.33 MB / 378.7 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.0007912/0.8156, allocations: 487.5 kB / 0.5422 GB, free: 84.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.8157, allocations: 15.5 kB / 0.5422 GB, free: 84.87 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.625e-05/0.8158, allocations: 58.03 kB / 0.5423 GB, free: 84.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008557/0.8166, allocations: 100.6 kB / 0.5424 GB, free: 84.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.817, allocations: 260 kB / 0.5426 GB, free: 84.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.817, allocations: 11.69 kB / 0.5426 GB, free: 84.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.817, allocations: 17.14 kB / 0.5427 GB, free: 84.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.8175, allocations: 313.3 kB / 0.543 GB, free: 84.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.8175, allocations: 0 / 0.543 GB, free: 84.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.8175, allocations: 11.7 kB / 0.543 GB, free: 84.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-05/0.8176, allocations: 29.31 kB / 0.543 GB, free: 84.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.818, allocations: 270.7 kB / 0.5433 GB, free: 84.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.8194, allocations: 1.279 MB / 0.5445 GB, free: 83.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.8198, allocations: 226.1 kB / 0.5447 GB, free: 82.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.8199, allocations: 103.9 kB / 0.5448 GB, free: 82.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.82, allocations: 0 / 0.5448 GB, free: 82.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.82, allocations: 42.28 kB / 0.5449 GB, free: 82.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.82, allocations: 0 / 0.5449 GB, free: 82.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006042/0.8206, allocations: 357.8 kB / 0.5452 GB, free: 82.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.8207, allocations: 80.02 kB / 0.5453 GB, free: 82.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.8208, allocations: 179.8 kB / 0.5454 GB, free: 82.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.8208, allocations: 29.7 kB / 0.5455 GB, free: 82.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.8209, allocations: 159.9 kB / 0.5456 GB, free: 82.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.8209, allocations: 58.61 kB / 0.5457 GB, free: 82.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.821, allocations: 7.406 kB / 0.5457 GB, free: 82.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.719e-05/0.821, allocations: 330.2 kB / 0.546 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.8211, allocations: 77.83 kB / 0.5461 GB, free: 81.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.8213, allocations: 159.4 kB / 0.5462 GB, free: 81.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.8214, allocations: 107.7 kB / 0.5463 GB, free: 81.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.8214, allocations: 3.906 kB / 0.5463 GB, free: 81.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003561/0.8218, allocations: 281.4 kB / 0.5466 GB, free: 81.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.8218, allocations: 4.906 kB / 0.5466 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.8218, allocations: 3.031 kB / 0.5466 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.8219, allocations: 7.344 kB / 0.5466 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.8221, allocations: 57.23 kB / 0.5467 GB, free: 81.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.8221, allocations: 3.781 kB / 0.5467 GB, free: 81.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.8222, allocations: 15.58 kB / 0.5467 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.8223, allocations: 11.72 kB / 0.5467 GB, free: 81.43 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.8223, allocations: 120.5 kB / 0.5468 GB, free: 81.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.8224, allocations: 23.42 kB / 0.5468 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.8227, allocations: 232.8 kB / 0.5471 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.8227, allocations: 0 / 0.5471 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8227, allocations: 0 / 0.5471 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.8227, allocations: 3.688 kB / 0.5471 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.8238, allocations: 0.9571 MB / 0.548 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8238, allocations: 7.859 kB / 0.548 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.824, allocations: 35.05 kB / 0.548 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.824, allocations: 7.844 kB / 0.548 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.824, allocations: 11.72 kB / 0.5481 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.824, allocations: 11.83 kB / 0.5481 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.824, allocations: 3.938 kB / 0.5481 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.8244, allocations: 0.5987 MB / 0.5487 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.8244, allocations: 96.92 kB / 0.5488 GB, free: 79.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.8245, allocations: 4 kB / 0.5488 GB, free: 79.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.8246, allocations: 19.94 kB / 0.5488 GB, free: 79.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.8247, allocations: 19.92 kB / 0.5488 GB, free: 79.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.8247, allocations: 12 kB / 0.5488 GB, free: 79.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.893e-05/0.8248, allocations: 150.8 kB / 0.5489 GB, free: 79.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8248, allocations: 4 kB / 0.549 GB, free: 79.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003489/0.8251, allocations: 63.98 kB / 0.549 GB, free: 79.24 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006663/0.8258, allocations: 2.246 MB / 0.5512 GB, free: 76.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.8261, allocations: 203.7 kB / 0.5514 GB, free: 76.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.8261, allocations: 0 / 0.5514 GB, free: 76.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.8262, allocations: 101 kB / 0.5515 GB, free: 76.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.8265, allocations: 33.72 kB / 0.5515 GB, free: 76.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008405/0.8274, allocations: 0.5044 MB / 0.552 GB, free: 75.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.8276, allocations: 0.7753 MB / 0.5528 GB, free: 75.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.8278, allocations: 49.5 kB / 0.5528 GB, free: 75.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-05/0.8279, allocations: 55.42 kB / 0.5529 GB, free: 75.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8279, allocations: 4 kB / 0.5529 GB, free: 75.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.8442, allocations: 3.706 MB / 0.5565 GB, free: 71.35 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.8444, allocations: 159.6 kB / 0.5567 GB, free: 71.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.564, allocations: 4 kB / 0.5567 GB, free: 71.11 MB / 378.7 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/linux/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)