Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.001072/0.001072, allocations: 181.4 kB / 8.131 MB, free: 2.223 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.9546/0.9546, allocations: 194.2 MB / 202.8 MB, free: 8.742 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.001517/0.001517, allocations: 119.1 kB / 247.7 MB, free: 6.297 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1516/0.1516, allocations: 37.92 MB / 330.5 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1704/0.322, allocations: 59.34 MB / 389.9 MB, free: 78.03 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0677/0.3897, allocations: 53.23 MB / 443.1 MB, free: 24.88 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2186/0.6084, allocations: 88.28 MB / 0.5189 GB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001634/0.6086, allocations: 81.86 kB / 0.519 GB, free: 11.04 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.03841/0.647, allocations: 18.02 MB / 0.5366 GB, free: 2.887 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.647, allocations: 12 kB / 0.5366 GB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.6482, allocations: 131.5 kB / 0.5368 GB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.6485, allocations: 297.9 kB / 0.537 GB, free: 2.438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.6485, allocations: 12 kB / 0.5371 GB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.6486, allocations: 15.94 kB / 0.5371 GB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003926/0.649, allocations: 312.7 kB / 0.5374 GB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.6494, allocations: 394.8 kB / 0.5377 GB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.6495, allocations: 3.984 kB / 0.5377 GB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.6495, allocations: 7.984 kB / 0.5378 GB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.6496, allocations: 32.62 kB / 0.5378 GB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.6512, allocations: 1.662 MB / 0.5394 GB, free: 300 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.6514, allocations: 194.5 kB / 0.5396 GB, free: 140 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.6516, allocations: 132.7 kB / 0.5397 GB, free: 44 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.6516, allocations: 4.016 kB / 0.5397 GB, free: 44 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.6517, allocations: 42.38 kB / 0.5398 GB, free: 16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.6517, allocations: 0 / 0.5398 GB, free: 16 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001013/0.6527, allocations: 0.513 MB / 0.5403 GB, free: 15.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.6528, allocations: 85.11 kB / 0.5403 GB, free: 15.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.6529, allocations: 173.4 kB / 0.5405 GB, free: 15.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.653, allocations: 25.7 kB / 0.5405 GB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.904e-05/0.6531, allocations: 175.1 kB / 0.5407 GB, free: 15.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.6531, allocations: 78.03 kB / 0.5408 GB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.6532, allocations: 0 / 0.5408 GB, free: 15.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6533, allocations: 334.1 kB / 0.5411 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.6534, allocations: 98.97 kB / 0.5412 GB, free: 14.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.6537, allocations: 194.2 kB / 0.5414 GB, free: 14.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.6539, allocations: 142.2 kB / 0.5415 GB, free: 14.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6539, allocations: 0 / 0.5415 GB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007042/0.6546, allocations: 402.1 kB / 0.5419 GB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.6546, allocations: 7.938 kB / 0.5419 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.6546, allocations: 4 kB / 0.5419 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003907/0.655, allocations: 88.58 kB / 0.542 GB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.6553, allocations: 51.91 kB / 0.542 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.657, allocations: 1.697 MB / 0.5437 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.6572, allocations: 8 kB / 0.5437 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.6573, allocations: 19.89 kB / 0.5437 GB, free: 12.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.6574, allocations: 108.9 kB / 0.5438 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.6574, allocations: 19.81 kB / 0.5438 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006963/0.6582, allocations: 367 kB / 0.5442 GB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6582, allocations: 4 kB / 0.5442 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6582, allocations: 0 / 0.5442 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.6582, allocations: 3.906 kB / 0.5442 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.6596, allocations: 0.8651 MB / 0.545 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.6596, allocations: 0 / 0.545 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.6598, allocations: 31.98 kB / 0.5451 GB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002569/0.66, allocations: 72.55 kB / 0.5451 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.6601, allocations: 7.812 kB / 0.5452 GB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.6616, allocations: 1.619 MB / 0.5467 GB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6616, allocations: 0 / 0.5467 GB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006514/0.6623, allocations: 490.5 kB / 0.5472 GB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007517/0.6631, allocations: 0.8477 MB / 0.548 GB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/0.6631, allocations: 96.77 kB / 0.5481 GB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.6632, allocations: 8 kB / 0.5481 GB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.6633, allocations: 7.984 kB / 0.5481 GB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.6634, allocations: 10.55 kB / 0.5481 GB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.6634, allocations: 11.5 kB / 0.5482 GB, free: 7.922 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.948e-05/0.6635, allocations: 141.2 kB / 0.5483 GB, free: 7.801 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001052/0.6646, allocations: 79.98 kB / 0.5484 GB, free: 7.723 MB / 362.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 (22): * Single equations (assignments): 20 * 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: 1 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001491/0.6647, allocations: 99.25 kB / 0.5485 GB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006286/0.6654, allocations: 400.9 kB / 0.5488 GB, free: 7.297 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6654, allocations: 0 / 0.5488 GB, free: 7.297 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003998/0.6658, allocations: 265.5 kB / 0.5491 GB, free: 7.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.6661, allocations: 23.83 kB / 0.5491 GB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009146/0.667, allocations: 440.5 kB / 0.5495 GB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/0.6675, allocations: 0.8264 MB / 0.5504 GB, free: 5.809 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6675, allocations: 0 / 0.5504 GB, free: 5.809 MB / 362.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)