Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.001073/0.001073, allocations: 181 kB / 8.128 MB, free: 2.219 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.9638/0.9638, allocations: 194.2 MB / 202.8 MB, free: 8.676 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.001643/0.001643, allocations: 117 kB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1513/0.1513, allocations: 37.92 MB / 330.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1776/0.329, allocations: 59.34 MB / 389.9 MB, free: 78.04 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07517/0.4042, allocations: 53.22 MB / 443.1 MB, free: 24.91 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2316/0.6358, allocations: 88.23 MB / 0.5189 GB, free: 10.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.6361, allocations: 82.42 kB / 0.519 GB, free: 10.8 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.02863/0.6647, allocations: 13.21 MB / 0.5319 GB, free: 5.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.6648, allocations: 13 kB / 0.5319 GB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009209/0.6657, allocations: 94.5 kB / 0.532 GB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.666, allocations: 269.3 kB / 0.5322 GB, free: 4.941 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.666, allocations: 5.625 kB / 0.5322 GB, free: 4.941 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.6661, allocations: 10 kB / 0.5322 GB, free: 4.941 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003163/0.6664, allocations: 202.2 kB / 0.5324 GB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.6668, allocations: 287.1 kB / 0.5327 GB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.6668, allocations: 4.719 kB / 0.5327 GB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.6668, allocations: 1.094 kB / 0.5327 GB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-05/0.6669, allocations: 22.64 kB / 0.5327 GB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.6682, allocations: 1.262 MB / 0.534 GB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.6685, allocations: 158 kB / 0.5341 GB, free: 3.773 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.6686, allocations: 48.3 kB / 0.5342 GB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.6687, allocations: 6.562 kB / 0.5342 GB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.6687, allocations: 43.3 kB / 0.5342 GB, free: 3.703 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.6687, allocations: 0 / 0.5342 GB, free: 3.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.000594/0.6693, allocations: 257.2 kB / 0.5345 GB, free: 3.582 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.6693, allocations: 79.17 kB / 0.5345 GB, free: 3.488 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.6694, allocations: 161.7 kB / 0.5347 GB, free: 3.375 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.6695, allocations: 30.73 kB / 0.5347 GB, free: 3.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.6695, allocations: 152.5 kB / 0.5349 GB, free: 3.207 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.6695, allocations: 48.86 kB / 0.5349 GB, free: 3.172 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.6696, allocations: 0 / 0.5349 GB, free: 3.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.6696, allocations: 326.3 kB / 0.5352 GB, free: 2.855 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.071e-05/0.6697, allocations: 44.86 kB / 0.5353 GB, free: 2.852 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.342e-05/0.6698, allocations: 151.5 kB / 0.5354 GB, free: 2.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.608e-05/0.6699, allocations: 69.34 kB / 0.5355 GB, free: 2.695 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6699, allocations: 1.188 kB / 0.5355 GB, free: 2.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003601/0.6703, allocations: 232.2 kB / 0.5357 GB, free: 2.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.6703, allocations: 4.25 kB / 0.5357 GB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.6703, allocations: 4.281 kB / 0.5357 GB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.6705, allocations: 37.8 kB / 0.5357 GB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.6707, allocations: 47.25 kB / 0.5358 GB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008517/0.6715, allocations: 1.283 MB / 0.537 GB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.6717, allocations: 4.062 kB / 0.537 GB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.6717, allocations: 11.94 kB / 0.537 GB, free: 1.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.968e-05/0.6717, allocations: 112.4 kB / 0.5372 GB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.6718, allocations: 18.83 kB / 0.5372 GB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.6721, allocations: 179.3 kB / 0.5373 GB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6721, allocations: 2.062 kB / 0.5373 GB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6721, allocations: 8.875 kB / 0.5374 GB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6721, allocations: 1.062 kB / 0.5374 GB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006569/0.6728, allocations: 0.5077 MB / 0.5379 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.6728, allocations: 0 / 0.5379 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.434e-05/0.6729, allocations: 19.94 kB / 0.5379 GB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.673, allocations: 32.58 kB / 0.5379 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.6731, allocations: 0 / 0.5379 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007031/0.6738, allocations: 1.256 MB / 0.5391 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.6738, allocations: 3.984 kB / 0.5391 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003227/0.6741, allocations: 326.1 kB / 0.5394 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004232/0.6746, allocations: 0.7082 MB / 0.5401 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.6746, allocations: 88.92 kB / 0.5402 GB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.6747, allocations: 4 kB / 0.5402 GB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.6748, allocations: 3.938 kB / 0.5402 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.6748, allocations: 7.984 kB / 0.5402 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.6748, allocations: 8 kB / 0.5402 GB, free: 14.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.17e-05/0.6749, allocations: 128.8 kB / 0.5404 GB, free: 14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009682/0.6759, allocations: 48 kB / 0.5404 GB, free: 13.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001075/0.676, allocations: 95.25 kB / 0.5405 GB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.6764, allocations: 247.2 kB / 0.5407 GB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6764, allocations: 4 kB / 0.5407 GB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.6766, allocations: 155.5 kB / 0.5409 GB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.6769, allocations: 30.7 kB / 0.5409 GB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.6774, allocations: 284.1 kB / 0.5412 GB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.6777, allocations: 0.7917 MB / 0.542 GB, free: 12.36 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6777, allocations: 0 / 0.542 GB, free: 12.36 MB / 362.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)