Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",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.3+maint.om/package.mo): time 0.001377/0.001378, allocations: 189.5 kB / 8.138 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.2 MB / 213.7 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 94.31 kB / 261.7 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1851/0.1851, allocations: 37.97 MB / 347.7 MB, free: 7.535 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2414/0.4265, allocations: 62.43 MB / 410.1 MB, free: 46.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.5611, allocations: 56.31 MB / 466.4 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.351/0.9121, allocations: 94.91 MB / 0.5482 GB, free: 15.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.9125, allocations: 83.95 kB / 0.5482 GB, free: 15.52 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.1551/1.068, allocations: 57.89 MB / 0.6048 GB, free: 4.895 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/1.068, allocations: 8 kB / 0.6048 GB, free: 4.887 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/1.072, allocations: 422.3 kB / 0.6052 GB, free: 4.473 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/1.074, allocations: 0.4923 MB / 0.6057 GB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-05/1.074, allocations: 24 kB / 0.6057 GB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/1.074, allocations: 44 kB / 0.6057 GB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002169/1.076, allocations: 0.9838 MB / 0.6067 GB, free: 2.891 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/1.079, allocations: 1.117 MB / 0.6078 GB, free: 1.746 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/1.079, allocations: 3.938 kB / 0.6078 GB, free: 1.742 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/1.079, allocations: 4 kB / 0.6078 GB, free: 1.738 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003188/1.079, allocations: 101.9 kB / 0.6079 GB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007176/1.086, allocations: 3.626 MB / 0.6114 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/1.088, allocations: 0.9995 MB / 0.6124 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009172/1.089, allocations: 0.6136 MB / 0.613 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.262e-05/1.089, allocations: 16.77 kB / 0.613 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/1.089, allocations: 39.34 kB / 0.613 GB, free: 12.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 4.749e-06/1.089, allocations: 0 / 0.613 GB, free: 12.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.004066/1.094, allocations: 1.948 MB / 0.615 GB, free: 10.24 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/1.094, allocations: 97.91 kB / 0.615 GB, free: 10.13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/1.094, allocations: 301.9 kB / 0.6153 GB, free: 9.832 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/1.094, allocations: 29.64 kB / 0.6154 GB, free: 9.797 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/1.094, allocations: 284.1 kB / 0.6156 GB, free: 9.512 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000333/1.095, allocations: 307.4 kB / 0.6159 GB, free: 9.207 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/1.095, allocations: 0 / 0.6159 GB, free: 9.207 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/1.095, allocations: 366.8 kB / 0.6163 GB, free: 8.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006359/1.096, allocations: 437.8 kB / 0.6167 GB, free: 8.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006893/1.096, allocations: 0.5411 MB / 0.6172 GB, free: 7.836 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007914/1.097, allocations: 0.5104 MB / 0.6177 GB, free: 7.328 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.097, allocations: 4 kB / 0.6177 GB, free: 7.324 MB / 458.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002658/1.1, allocations: 1.374 MB / 0.6191 GB, free: 5.938 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.1, allocations: 8.531 kB / 0.6191 GB, free: 5.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/1.1, allocations: 4 kB / 0.6191 GB, free: 5.926 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/1.101, allocations: 316.6 kB / 0.6194 GB, free: 5.617 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009507/1.102, allocations: 179.8 kB / 0.6195 GB, free: 5.441 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006266/1.108, allocations: 3.448 MB / 0.6229 GB, free: 1.879 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009871/1.109, allocations: 35.86 kB / 0.623 GB, free: 1.844 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003294/1.11, allocations: 31.92 kB / 0.623 GB, free: 1.812 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004798/1.11, allocations: 122.9 kB / 0.6231 GB, free: 1.688 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/1.111, allocations: 55.34 kB / 0.6232 GB, free: 1.633 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/1.114, allocations: 1.475 MB / 0.6246 GB, free: 148 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/1.114, allocations: 8 kB / 0.6246 GB, free: 140 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/1.114, allocations: 8 kB / 0.6246 GB, free: 132 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/1.114, allocations: 7.969 kB / 0.6246 GB, free: 124 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006111/1.12, allocations: 2.861 MB / 0.6274 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.12, allocations: 7.906 kB / 0.6274 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007856/1.121, allocations: 159.8 kB / 0.6276 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009707/1.122, allocations: 280.8 kB / 0.6278 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-05/1.122, allocations: 11.98 kB / 0.6278 GB, free: 12.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005163/1.127, allocations: 3.255 MB / 0.631 GB, free: 9.32 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/1.127, allocations: 7.938 kB / 0.631 GB, free: 9.312 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003001/1.13, allocations: 1.672 MB / 0.6327 GB, free: 7.488 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003259/1.133, allocations: 2.067 MB / 0.6347 GB, free: 5.254 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/1.134, allocations: 144.3 kB / 0.6348 GB, free: 5.094 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/1.134, allocations: 4 kB / 0.6348 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000593/1.135, allocations: 27.91 kB / 0.6349 GB, free: 5.062 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.135, allocations: 56.7 kB / 0.6349 GB, free: 5.008 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.135, allocations: 39.98 kB / 0.6349 GB, free: 4.969 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0004057/1.135, allocations: 232.5 kB / 0.6352 GB, free: 4.738 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002167/1.137, allocations: 276.9 kB / 0.6354 GB, free: 4.469 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (82): * Single equations (assignments): 80 * 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%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002875/1.138, allocations: 127 kB / 0.6356 GB, free: 4.336 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002374/1.14, allocations: 1.25 MB / 0.6368 GB, free: 3.078 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.14, allocations: 3.938 kB / 0.6368 GB, free: 3.074 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/1.142, allocations: 0.7504 MB / 0.6375 GB, free: 2.316 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006807/1.142, allocations: 69.95 kB / 0.6376 GB, free: 2.246 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/1.146, allocations: 1.503 MB / 0.639 GB, free: 0.668 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2409/1.387, allocations: 1.144 MB / 0.6402 GB, free: 178.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.593e-06/1.387, allocations: 0 / 0.6402 GB, free: 178.2 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat does not exist to compare? outputFormat=mat