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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00099/0.00099, allocations: 182.8 kB / 8.133 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9714/0.9714, allocations: 194.2 MB / 202.8 MB, free: 8.727 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.00161/0.00161, allocations: 119 kB / 247.7 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1537/0.1537, allocations: 37.92 MB / 330.5 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1827/0.3363, allocations: 59.34 MB / 389.9 MB, free: 78.04 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0722/0.4086, allocations: 53.23 MB / 443.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2382/0.6468, allocations: 88.92 MB / 0.5196 GB, free: 10.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.647, allocations: 85.08 kB / 0.5196 GB, free: 10.92 MB / 346.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.03145/0.6785, allocations: 14.28 MB / 0.5336 GB, free: 4.906 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.6786, allocations: 8.312 kB / 0.5336 GB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.6796, allocations: 97.97 kB / 0.5337 GB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.6799, allocations: 261.9 kB / 0.5339 GB, free: 4.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.68, allocations: 9.562 kB / 0.534 GB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.68, allocations: 19.19 kB / 0.534 GB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003386/0.6803, allocations: 207.8 kB / 0.5342 GB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.6807, allocations: 281.6 kB / 0.5344 GB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.6808, allocations: 5.094 kB / 0.5344 GB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.6808, allocations: 1.094 kB / 0.5344 GB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-05/0.6809, allocations: 27.08 kB / 0.5345 GB, free: 4.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.6824, allocations: 1.3 MB / 0.5357 GB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.6827, allocations: 214.2 kB / 0.5359 GB, free: 3.324 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.6828, allocations: 97.19 kB / 0.536 GB, free: 3.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.6828, allocations: 3.984 kB / 0.536 GB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.6828, allocations: 41.94 kB / 0.5361 GB, free: 3.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.6828, allocations: 3.938 kB / 0.5361 GB, free: 3.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005466/0.6834, allocations: 350.8 kB / 0.5364 GB, free: 2.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.846e-05/0.6834, allocations: 81.11 kB / 0.5365 GB, free: 2.816 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.6835, allocations: 166.4 kB / 0.5367 GB, free: 2.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.6836, allocations: 25.7 kB / 0.5367 GB, free: 2.629 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.6836, allocations: 149.8 kB / 0.5368 GB, free: 2.488 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.6837, allocations: 60 kB / 0.5369 GB, free: 2.438 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.6837, allocations: 4.031 kB / 0.5369 GB, free: 2.434 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.6838, allocations: 325.7 kB / 0.5372 GB, free: 2.113 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.867e-05/0.6839, allocations: 79.25 kB / 0.5373 GB, free: 2.059 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.684, allocations: 143.8 kB / 0.5374 GB, free: 1.922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.6841, allocations: 115.3 kB / 0.5375 GB, free: 1.844 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.6841, allocations: 0 / 0.5375 GB, free: 1.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000311/0.6844, allocations: 272.4 kB / 0.5378 GB, free: 1.629 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.6845, allocations: 11.12 kB / 0.5378 GB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6845, allocations: 0 / 0.5378 GB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.6845, allocations: 4 kB / 0.5378 GB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.6847, allocations: 51.91 kB / 0.5378 GB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.6847, allocations: 4 kB / 0.5378 GB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.6849, allocations: 7.984 kB / 0.5379 GB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.6849, allocations: 11.47 kB / 0.5379 GB, free: 1.547 MB / 346.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 6.52e-05/0.685, allocations: 116.9 kB / 0.538 GB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.6851, allocations: 19.72 kB / 0.538 GB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.6854, allocations: 214.8 kB / 0.5382 GB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6854, allocations: 7.906 kB / 0.5382 GB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6854, allocations: 0 / 0.5382 GB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6854, allocations: 0 / 0.5382 GB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.6865, allocations: 1.085 MB / 0.5393 GB, free: 184 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.6865, allocations: 4 kB / 0.5393 GB, free: 180 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.6866, allocations: 43.84 kB / 0.5393 GB, free: 136 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.6867, allocations: 8.531 kB / 0.5393 GB, free: 128 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.6867, allocations: 4 kB / 0.5393 GB, free: 124 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.6867, allocations: 15.94 kB / 0.5393 GB, free: 108 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.6867, allocations: 4 kB / 0.5393 GB, free: 104 kB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000512/0.6872, allocations: 0.6037 MB / 0.5399 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005708/0.6878, allocations: 0.9809 MB / 0.5409 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/0.6879, allocations: 104.8 kB / 0.541 GB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.6879, allocations: 8 kB / 0.541 GB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.6881, allocations: 8 kB / 0.541 GB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.6881, allocations: 18.58 kB / 0.541 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.6882, allocations: 8 kB / 0.541 GB, free: 14.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001152/0.6883, allocations: 136.1 kB / 0.5412 GB, free: 14.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009767/0.6893, allocations: 60 kB / 0.5412 GB, free: 13.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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.0001222/0.6894, allocations: 107.1 kB / 0.5413 GB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.6897, allocations: 206.9 kB / 0.5415 GB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.6897, allocations: 0 / 0.5415 GB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.6898, allocations: 99.33 kB / 0.5416 GB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.6901, allocations: 28.52 kB / 0.5416 GB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007155/0.6909, allocations: 441.4 kB / 0.5421 GB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.6913, allocations: 0.7896 MB / 0.5428 GB, free: 12.36 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6913, allocations: 4 kB / 0.5428 GB, free: 12.36 MB / 362.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)