Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",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.001009/0.00101, allocations: 184.7 kB / 8.134 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.9944/0.9944, allocations: 194.2 MB / 202.8 MB, free: 8.766 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.001617/0.001617, allocations: 125.8 kB / 247.8 MB, free: 6.309 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.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1786/0.33, allocations: 59.33 MB / 389.9 MB, free: 78.05 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07324/0.4032, allocations: 53.23 MB / 443.1 MB, free: 24.91 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2436/0.6469, allocations: 94.51 MB / 0.525 GB, free: 9.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001767/0.6471, allocations: 77.52 kB / 0.5251 GB, free: 9.266 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.03308/0.6802, allocations: 13.42 MB / 0.5382 GB, free: 1.086 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.6802, allocations: 15.94 kB / 0.5382 GB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005033/0.6808, allocations: 83.38 kB / 0.5383 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.6825, allocations: 0.8579 MB / 0.5391 GB, free: 252 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.6825, allocations: 12 kB / 0.5392 GB, free: 240 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.366e-05/0.6826, allocations: 24 kB / 0.5392 GB, free: 216 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006439/0.6833, allocations: 479.8 kB / 0.5396 GB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007758/0.684, allocations: 0.6126 MB / 0.5402 GB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.6841, allocations: 0 / 0.5402 GB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.6841, allocations: 3.906 kB / 0.5402 GB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.6842, allocations: 48.56 kB / 0.5403 GB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.6875, allocations: 2.399 MB / 0.5426 GB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.6879, allocations: 332.6 kB / 0.5429 GB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.6882, allocations: 263.7 kB / 0.5432 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.6882, allocations: 4 kB / 0.5432 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.6883, allocations: 41.8 kB / 0.5432 GB, free: 12.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 1.843e-06/0.6883, allocations: 0 / 0.5432 GB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.002642/0.6909, allocations: 1.541 MB / 0.5447 GB, free: 11.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.691, allocations: 85.28 kB / 0.5448 GB, free: 11.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.6912, allocations: 235.2 kB / 0.545 GB, free: 11.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.6912, allocations: 25.7 kB / 0.5451 GB, free: 11.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/0.6913, allocations: 220.1 kB / 0.5453 GB, free: 10.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.6915, allocations: 163.1 kB / 0.5454 GB, free: 10.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.6915, allocations: 0 / 0.5454 GB, free: 10.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.6916, allocations: 348.4 kB / 0.5458 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.6919, allocations: 224.2 kB / 0.546 GB, free: 10.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.6922, allocations: 370 kB / 0.5463 GB, free: 9.879 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006551/0.6929, allocations: 380.1 kB / 0.5467 GB, free: 9.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6929, allocations: 0 / 0.5467 GB, free: 9.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001124/0.694, allocations: 0.7223 MB / 0.5474 GB, free: 9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.6941, allocations: 4.594 kB / 0.5474 GB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.6941, allocations: 4 kB / 0.5474 GB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.6941, allocations: 12 kB / 0.5474 GB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.6945, allocations: 110.2 kB / 0.5475 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.6946, allocations: 8 kB / 0.5475 GB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.6948, allocations: 19.97 kB / 0.5476 GB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.6949, allocations: 19.25 kB / 0.5476 GB, free: 8.832 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (55): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.355e-05/0.695, allocations: 116 kB / 0.5477 GB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.695, allocations: 31.62 kB / 0.5477 GB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.6961, allocations: 0.6532 MB / 0.5484 GB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-05/0.6962, allocations: 19.48 kB / 0.5484 GB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6962, allocations: 4 kB / 0.5484 GB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6962, allocations: 7.922 kB / 0.5484 GB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.6983, allocations: 1.398 MB / 0.5497 GB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6983, allocations: 7.984 kB / 0.5498 GB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.6987, allocations: 70.58 kB / 0.5498 GB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.6988, allocations: 8 kB / 0.5498 GB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.6988, allocations: 7.906 kB / 0.5498 GB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.6988, allocations: 4 kB / 0.5498 GB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.6988, allocations: 4 kB / 0.5498 GB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001351/0.7002, allocations: 1.212 MB / 0.551 GB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001735/0.7019, allocations: 1.898 MB / 0.5529 GB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.702, allocations: 108 kB / 0.553 GB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.7021, allocations: 15.89 kB / 0.553 GB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.7023, allocations: 11.98 kB / 0.553 GB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.7024, allocations: 23.34 kB / 0.553 GB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.7024, allocations: 19.5 kB / 0.5531 GB, free: 3.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000155/0.7026, allocations: 181.6 kB / 0.5532 GB, free: 3.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001025/0.7036, allocations: 110.8 kB / 0.5533 GB, free: 3.625 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * 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.0002005/0.7038, allocations: 142.4 kB / 0.5535 GB, free: 3.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007482/0.7046, allocations: 0.5456 MB / 0.554 GB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7046, allocations: 384 / 0.554 GB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.705, allocations: 279.8 kB / 0.5543 GB, free: 2.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.7054, allocations: 64.17 kB / 0.5543 GB, free: 2.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.7068, allocations: 0.9799 MB / 0.5553 GB, free: 1.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/0.7074, allocations: 0.9245 MB / 0.5562 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7074, allocations: 4 kB / 0.5562 GB, free: 0.9648 MB / 362.7 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1)