Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.0009968/0.0009969, allocations: 182.1 kB / 8.137 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 1.022/1.022, allocations: 194.2 MB / 202.8 MB, free: 8.723 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.001695/0.001695, allocations: 118.6 kB / 247.7 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1549/0.1549, allocations: 37.92 MB / 330.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1742/0.3291, allocations: 59.34 MB / 389.9 MB, free: 78.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07665/0.4058, allocations: 53.23 MB / 443.1 MB, free: 24.88 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2657/0.6715, allocations: 95.16 MB / 0.5257 GB, free: 9.102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.6718, allocations: 87.3 kB / 0.5257 GB, free: 9.09 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.03334/0.7051, allocations: 12.83 MB / 0.5383 GB, free: 1.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.7052, allocations: 8 kB / 0.5383 GB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006508/0.7058, allocations: 95.27 kB / 0.5384 GB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.7078, allocations: 0.8482 MB / 0.5392 GB, free: 240 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.7078, allocations: 12 kB / 0.5392 GB, free: 228 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.832e-05/0.7079, allocations: 31.91 kB / 0.5392 GB, free: 196 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005991/0.7085, allocations: 364.9 kB / 0.5396 GB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007974/0.7093, allocations: 0.5766 MB / 0.5402 GB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.7094, allocations: 0 / 0.5402 GB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.7094, allocations: 4 kB / 0.5402 GB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.7095, allocations: 36.08 kB / 0.5402 GB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.7125, allocations: 2.833 MB / 0.543 GB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.7128, allocations: 186.1 kB / 0.5431 GB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.713, allocations: 132.5 kB / 0.5433 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.713, allocations: 4 kB / 0.5433 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.713, allocations: 45.56 kB / 0.5433 GB, free: 12.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.184e-06/0.713, allocations: 4 kB / 0.5433 GB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001332/0.7144, allocations: 0.8455 MB / 0.5441 GB, free: 11.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.7144, allocations: 81.3 kB / 0.5442 GB, free: 11.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.7147, allocations: 278.2 kB / 0.5445 GB, free: 11.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.7147, allocations: 25.7 kB / 0.5445 GB, free: 11.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.7148, allocations: 260.6 kB / 0.5448 GB, free: 11.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.7149, allocations: 87.91 kB / 0.5448 GB, free: 10.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/0.7149, allocations: 4 kB / 0.5449 GB, free: 10.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.7151, allocations: 347.9 kB / 0.5452 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.7152, allocations: 137.5 kB / 0.5453 GB, free: 10.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.7155, allocations: 319.8 kB / 0.5456 GB, free: 10.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.7158, allocations: 197.9 kB / 0.5458 GB, free: 10.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.7158, allocations: 4 kB / 0.5458 GB, free: 10.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009691/0.7168, allocations: 0.5555 MB / 0.5464 GB, free: 9.582 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.7168, allocations: 11.94 kB / 0.5464 GB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000599/0.7174, allocations: 316.9 kB / 0.5467 GB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/0.7178, allocations: 79.78 kB / 0.5467 GB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.7182, allocations: 94.94 kB / 0.5468 GB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.7196, allocations: 1.514 MB / 0.5483 GB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.7199, allocations: 12.03 kB / 0.5483 GB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/0.72, allocations: 21.81 kB / 0.5483 GB, free: 7.629 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 46 * Array equations: 1 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002104/0.7202, allocations: 120.7 kB / 0.5485 GB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.7203, allocations: 31.62 kB / 0.5485 GB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005837/0.7209, allocations: 343.5 kB / 0.5488 GB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.7209, allocations: 8 kB / 0.5488 GB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.7209, allocations: 0 / 0.5488 GB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.7209, allocations: 7.891 kB / 0.5488 GB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.7221, allocations: 0.7908 MB / 0.5496 GB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7221, allocations: 0 / 0.5496 GB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.7225, allocations: 63.45 kB / 0.5497 GB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.7225, allocations: 0 / 0.5497 GB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.7225, allocations: 7.938 kB / 0.5497 GB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7225, allocations: 0 / 0.5497 GB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.7226, allocations: 4 kB / 0.5497 GB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006527/0.7232, allocations: 0.5919 MB / 0.5503 GB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009971/0.7242, allocations: 1.111 MB / 0.5513 GB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.7243, allocations: 109 kB / 0.5514 GB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.7244, allocations: 8 kB / 0.5515 GB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.7246, allocations: 7.984 kB / 0.5515 GB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.7246, allocations: 27.09 kB / 0.5515 GB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.7247, allocations: 8 kB / 0.5515 GB, free: 4.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001682/0.7248, allocations: 206.1 kB / 0.5517 GB, free: 4.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001045/0.7259, allocations: 103.9 kB / 0.5518 GB, free: 4.508 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 1 * 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.0001832/0.7261, allocations: 114.4 kB / 0.5519 GB, free: 4.387 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000746/0.7268, allocations: 460.9 kB / 0.5523 GB, free: 4.016 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7268, allocations: 0 / 0.5523 GB, free: 4.016 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.7271, allocations: 135.1 kB / 0.5525 GB, free: 3.922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.7275, allocations: 58.95 kB / 0.5525 GB, free: 3.879 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.7289, allocations: 0.7731 MB / 0.5533 GB, free: 3.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005613/0.7295, allocations: 0.9203 MB / 0.5542 GB, free: 2.211 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7295, allocations: 0 / 0.5542 GB, free: 2.211 MB / 362.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)