Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",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.001047/0.001047, allocations: 187.1 kB / 8.134 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.9967/0.9967, allocations: 194.2 MB / 202.8 MB, free: 8.664 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.001722/0.001722, allocations: 121.5 kB / 247.7 MB, free: 6.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1598/0.1598, allocations: 37.92 MB / 330.5 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1741/0.334, allocations: 59.34 MB / 389.9 MB, free: 78.05 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07263/0.4066, allocations: 53.23 MB / 443.1 MB, free: 24.9 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.246/0.6527, allocations: 95.61 MB / 0.5261 GB, free: 9.266 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.6529, allocations: 87.84 kB / 0.5262 GB, free: 9.254 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0376/0.6905, allocations: 15.31 MB / 0.5411 GB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.6906, allocations: 8 kB / 0.5411 GB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005872/0.6912, allocations: 98.52 kB / 0.5412 GB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/0.6932, allocations: 0.858 MB / 0.5421 GB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.6932, allocations: 8 kB / 0.5421 GB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.6933, allocations: 27.44 kB / 0.5421 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006713/0.694, allocations: 484.7 kB / 0.5426 GB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/0.6948, allocations: 0.6277 MB / 0.5432 GB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.6949, allocations: 0 / 0.5432 GB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.6949, allocations: 0 / 0.5432 GB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001349/0.6951, allocations: 60.55 kB / 0.5432 GB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003421/0.6985, allocations: 2.514 MB / 0.5457 GB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/0.6989, allocations: 331.2 kB / 0.546 GB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.6992, allocations: 251 kB / 0.5462 GB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.6993, allocations: 4 kB / 0.5463 GB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.6993, allocations: 33.88 kB / 0.5463 GB, free: 10.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.6993, allocations: 0 / 0.5463 GB, free: 10.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.002579/0.7019, allocations: 1.509 MB / 0.5478 GB, free: 9.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.7019, allocations: 92.53 kB / 0.5478 GB, free: 9.055 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.7022, allocations: 216.6 kB / 0.5481 GB, free: 8.867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.7022, allocations: 25.7 kB / 0.5481 GB, free: 8.836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.7023, allocations: 220.8 kB / 0.5483 GB, free: 8.629 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.7024, allocations: 148.4 kB / 0.5484 GB, free: 8.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.7025, allocations: 4 kB / 0.5484 GB, free: 8.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7026, allocations: 354.3 kB / 0.5488 GB, free: 8.156 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.7029, allocations: 217.5 kB / 0.549 GB, free: 8.012 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.7032, allocations: 332.1 kB / 0.5493 GB, free: 7.719 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006496/0.7039, allocations: 356.1 kB / 0.5496 GB, free: 7.449 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.7039, allocations: 4 kB / 0.5496 GB, free: 7.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001391/0.7053, allocations: 0.7848 MB / 0.5504 GB, free: 6.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.7053, allocations: 7.984 kB / 0.5504 GB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001161/0.7065, allocations: 0.6392 MB / 0.551 GB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003862/0.7069, allocations: 108.8 kB / 0.5511 GB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.7072, allocations: 79.72 kB / 0.5512 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/0.7098, allocations: 2.856 MB / 0.554 GB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004039/0.7102, allocations: 12.03 kB / 0.554 GB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.7102, allocations: 15.12 kB / 0.554 GB, free: 3.207 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.7104, allocations: 116.8 kB / 0.5541 GB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.105e-05/0.7104, allocations: 31.62 kB / 0.5542 GB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.7115, allocations: 0.629 MB / 0.5548 GB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.525e-05/0.7116, allocations: 15.98 kB / 0.5548 GB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.7116, allocations: 8 kB / 0.5548 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.7116, allocations: 0 / 0.5548 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.7136, allocations: 1.274 MB / 0.5561 GB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.7136, allocations: 4 kB / 0.5561 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/0.7141, allocations: 71.23 kB / 0.5561 GB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.7141, allocations: 4 kB / 0.5561 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.7141, allocations: 8 kB / 0.5561 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.7141, allocations: 0 / 0.5561 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.7142, allocations: 7.938 kB / 0.5561 GB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001409/0.7156, allocations: 1.09 MB / 0.5572 GB, free: 360 kB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001883/0.7175, allocations: 1.763 MB / 0.5589 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.7177, allocations: 150.5 kB / 0.5591 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.7177, allocations: 4 kB / 0.5591 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.718, allocations: 15.98 kB / 0.5591 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.718, allocations: 19.03 kB / 0.5591 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.7181, allocations: 14.56 kB / 0.5591 GB, free: 14.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001818/0.7183, allocations: 173.5 kB / 0.5593 GB, free: 14.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001229/0.7195, allocations: 125.7 kB / 0.5594 GB, free: 14.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (31): * Single equations (assignments): 27 * Array equations: 3 * 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.000235/0.7197, allocations: 140.3 kB / 0.5595 GB, free: 14.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.7208, allocations: 0.7401 MB / 0.5603 GB, free: 13.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7208, allocations: 0 / 0.5603 GB, free: 13.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.7212, allocations: 272.3 kB / 0.5605 GB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.7216, allocations: 54.48 kB / 0.5606 GB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.7231, allocations: 0.9417 MB / 0.5615 GB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006105/0.7237, allocations: 0.9239 MB / 0.5624 GB, free: 11.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7237, allocations: 0 / 0.5624 GB, free: 11.55 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)