Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 182 kB / 8.012 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 86.17 kB / 261.7 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2645/0.2645, allocations: 37.99 MB / 347.7 MB, free: 5.77 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.889e-05, allocations: 7.984 kB / 409.9 MB, free: 35.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 56.32 MB / 466.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4929/0.6027, allocations: 94.06 MB / 0.5472 GB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.603, allocations: 80.39 kB / 0.5473 GB, free: 10.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04995/0.653, allocations: 14.05 MB / 0.561 GB, free: 4.824 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.653, allocations: 0 / 0.561 GB, free: 4.824 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.653, allocations: 4 kB / 0.561 GB, free: 4.82 MB / 362.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.0007307/0.6538, allocations: 0.4915 MB / 0.5615 GB, free: 4.305 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.6538, allocations: 8.031 kB / 0.5615 GB, free: 4.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.6553, allocations: 123.5 kB / 0.5616 GB, free: 4.176 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.6558, allocations: 266.4 kB / 0.5618 GB, free: 3.898 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.6558, allocations: 4 kB / 0.5618 GB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.6559, allocations: 15.98 kB / 0.5619 GB, free: 3.879 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004731/0.6564, allocations: 202.6 kB / 0.5621 GB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.6569, allocations: 288.4 kB / 0.5623 GB, free: 3.504 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.657, allocations: 0 / 0.5623 GB, free: 3.504 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.657, allocations: 0 / 0.5623 GB, free: 3.504 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/0.6572, allocations: 27.16 kB / 0.5624 GB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.6593, allocations: 1.26 MB / 0.5636 GB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.6597, allocations: 166.2 kB / 0.5637 GB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.6599, allocations: 109.2 kB / 0.5639 GB, free: 2.125 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.6599, allocations: 3.5 kB / 0.5639 GB, free: 2.125 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.66, allocations: 38.56 kB / 0.5639 GB, free: 2.078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.825e-06/0.66, allocations: 3.938 kB / 0.5639 GB, free: 2.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.001359/0.6614, allocations: 460.9 kB / 0.5643 GB, free: 1.715 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.6614, allocations: 81.11 kB / 0.5644 GB, free: 1.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.6616, allocations: 144 kB / 0.5645 GB, free: 1.484 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.6616, allocations: 25.7 kB / 0.5646 GB, free: 1.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.6617, allocations: 216.9 kB / 0.5648 GB, free: 1.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.6618, allocations: 73.7 kB / 0.5649 GB, free: 1.191 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/0.6618, allocations: 3.938 kB / 0.5649 GB, free: 1.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.6619, allocations: 318.5 kB / 0.5652 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.662, allocations: 80.31 kB / 0.5652 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.6623, allocations: 152.8 kB / 0.5654 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.6625, allocations: 101.6 kB / 0.5655 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6625, allocations: 7.875 kB / 0.5655 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000953/0.6635, allocations: 343.7 kB / 0.5658 GB, free: 336 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.6635, allocations: 7.953 kB / 0.5658 GB, free: 328 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.6635, allocations: 4 kB / 0.5658 GB, free: 324 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/0.6641, allocations: 85.69 kB / 0.5659 GB, free: 252 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.6645, allocations: 51.84 kB / 0.566 GB, free: 200 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.6677, allocations: 1.845 MB / 0.5678 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.668, allocations: 12.02 kB / 0.5678 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.6681, allocations: 8 kB / 0.5678 GB, free: 14.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 (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.6682, allocations: 120.2 kB / 0.5679 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009629/0.6692, allocations: 301.8 kB / 0.5682 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.6693, allocations: 27.66 kB / 0.5682 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009929/0.6703, allocations: 323 kB / 0.5685 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.6703, allocations: 3.984 kB / 0.5685 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.6704, allocations: 7.953 kB / 0.5685 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.6704, allocations: 4.031 kB / 0.5685 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.6724, allocations: 0.725 MB / 0.5692 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.6724, allocations: 4.062 kB / 0.5692 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.6727, allocations: 27.98 kB / 0.5693 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004747/0.6732, allocations: 74.41 kB / 0.5693 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.6732, allocations: 4 kB / 0.5693 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002814/0.676, allocations: 1.756 MB / 0.5711 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/0.6761, allocations: 4.016 kB / 0.5711 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.6771, allocations: 459.7 kB / 0.5715 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.6772, allocations: 96.97 kB / 0.5716 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.6773, allocations: 3.984 kB / 0.5716 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.6775, allocations: 7.984 kB / 0.5716 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.6776, allocations: 19.09 kB / 0.5716 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.6777, allocations: 8 kB / 0.5716 GB, free: 10.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001484/0.6778, allocations: 122.9 kB / 0.5717 GB, free: 10.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6778, allocations: 0 / 0.5717 GB, free: 10.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007293/0.6786, allocations: 68 kB / 0.5718 GB, free: 10.61 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001493/0.6801, allocations: 1.185 MB / 0.573 GB, free: 9.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.6812, allocations: 379.1 kB / 0.5733 GB, free: 9.145 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6812, allocations: 4.062 kB / 0.5733 GB, free: 9.141 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006282/0.6819, allocations: 255.9 kB / 0.5736 GB, free: 8.922 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.6823, allocations: 27.23 kB / 0.5736 GB, free: 8.902 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.6837, allocations: 469.4 kB / 0.5741 GB, free: 8.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.6842, allocations: 0.7699 MB / 0.5748 GB, free: 7.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.6844, allocations: 64.03 kB / 0.5749 GB, free: 7.637 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6844, allocations: 0 / 0.5749 GB, free: 7.637 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.781/3.465, allocations: 4.547 MB / 0.5793 GB, free: 3.125 MB / 378.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)