Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",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.001538/0.001538, allocations: 183.7 kB / 8.138 MB, free: 2.188 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.257/1.257, allocations: 205.2 MB / 213.7 MB, free: 13.85 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.0009201/0.0009203, allocations: 98.97 kB / 261.8 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1823/0.1823, allocations: 37.97 MB / 347.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2423/0.4248, allocations: 62.44 MB / 410.1 MB, free: 46.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.5457, allocations: 56.31 MB / 466.4 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3909/0.9367, allocations: 98.69 MB / 0.5519 GB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.937, allocations: 87.94 kB / 0.5519 GB, free: 11.72 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.1911/1.128, allocations: 59.62 MB / 0.6102 GB, free: 15.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.242e-05/1.128, allocations: 12 kB / 0.6102 GB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007138/1.135, allocations: 0.5057 MB / 0.6107 GB, free: 14.83 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/1.137, allocations: 0.5515 MB / 0.6112 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/1.137, allocations: 32 kB / 0.6112 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/1.137, allocations: 63.89 kB / 0.6113 GB, free: 14.15 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002522/1.14, allocations: 1.211 MB / 0.6125 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002682/1.143, allocations: 1.36 MB / 0.6138 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-05/1.143, allocations: 4 kB / 0.6138 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/1.143, allocations: 4 kB / 0.6138 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004293/1.143, allocations: 130 kB / 0.6139 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00946/1.153, allocations: 4.804 MB / 0.6186 GB, free: 6.402 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/1.155, allocations: 1.071 MB / 0.6197 GB, free: 5.312 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009638/1.156, allocations: 0.7342 MB / 0.6204 GB, free: 4.574 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.112e-05/1.156, allocations: 24.92 kB / 0.6204 GB, free: 4.551 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/1.156, allocations: 51.86 kB / 0.6205 GB, free: 4.492 MB / 458.7 MB Notification: Performance of pre-optimization done (n=107): time 4.478e-06/1.156, allocations: 0 / 0.6205 GB, free: 4.492 MB / 458.7 MB Notification: Performance of matching and sorting (n=108): time 0.004487/1.161, allocations: 2.303 MB / 0.6227 GB, free: 2.172 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/1.161, allocations: 94.05 kB / 0.6228 GB, free: 2.059 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/1.161, allocations: 388.9 kB / 0.6232 GB, free: 1.672 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-05/1.161, allocations: 29.73 kB / 0.6232 GB, free: 1.637 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/1.162, allocations: 371.4 kB / 0.6236 GB, free: 1.266 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003526/1.162, allocations: 358.7 kB / 0.6239 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/1.162, allocations: 4 kB / 0.6239 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/1.162, allocations: 378.8 kB / 0.6243 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007355/1.163, allocations: 0.5102 MB / 0.6248 GB, free: 20 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008695/1.164, allocations: 0.7126 MB / 0.6255 GB, free: 15.22 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009337/1.165, allocations: 0.6391 MB / 0.6261 GB, free: 14.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.165, allocations: 0 / 0.6261 GB, free: 14.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002917/1.168, allocations: 1.699 MB / 0.6278 GB, free: 12.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.168, allocations: 5.562 kB / 0.6278 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.168, allocations: 8 kB / 0.6278 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/1.169, allocations: 387.4 kB / 0.6281 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009797/1.17, allocations: 223.7 kB / 0.6283 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006566/1.176, allocations: 5.09 MB / 0.6333 GB, free: 6.938 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/1.178, allocations: 27.97 kB / 0.6333 GB, free: 6.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.351e-05/1.178, allocations: 43.98 kB / 0.6334 GB, free: 6.867 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000261/1.178, allocations: 132.6 kB / 0.6335 GB, free: 6.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/1.178, allocations: 71.16 kB / 0.6336 GB, free: 6.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/1.182, allocations: 1.723 MB / 0.6353 GB, free: 4.926 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/1.182, allocations: 12 kB / 0.6353 GB, free: 4.914 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/1.182, allocations: 4 kB / 0.6353 GB, free: 4.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/1.182, allocations: 7.984 kB / 0.6353 GB, free: 4.902 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006099/1.188, allocations: 3.277 MB / 0.6385 GB, free: 1.508 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.188, allocations: 7.906 kB / 0.6385 GB, free: 1.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007975/1.189, allocations: 179.7 kB / 0.6387 GB, free: 1.324 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009934/1.19, allocations: 357.4 kB / 0.639 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.24e-05/1.19, allocations: 8 kB / 0.639 GB, free: 0.957 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2161/1.406, allocations: 4.873 MB / 0.6438 GB, free: 176.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/1.406, allocations: 5.469 kB / 0.6438 GB, free: 176.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002941/1.409, allocations: 1.91 MB / 0.6456 GB, free: 175.5 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002839/1.412, allocations: 2.313 MB / 0.6479 GB, free: 174.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002873/1.412, allocations: 157.2 kB / 0.6481 GB, free: 174.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/1.412, allocations: 7.719 kB / 0.6481 GB, free: 174.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/1.413, allocations: 18.86 kB / 0.6481 GB, free: 174.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/1.413, allocations: 74 kB / 0.6481 GB, free: 174.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/1.413, allocations: 35.33 kB / 0.6482 GB, free: 174.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.000336/1.413, allocations: 294.3 kB / 0.6485 GB, free: 174.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001862/1.415, allocations: 341 kB / 0.6488 GB, free: 174.4 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 (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000247/1.416, allocations: 117.6 kB / 0.6489 GB, free: 174.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002298/1.418, allocations: 1.595 MB / 0.6505 GB, free: 174.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/1.418, allocations: 0 / 0.6505 GB, free: 174.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001392/1.419, allocations: 0.9742 MB / 0.6514 GB, free: 173.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000897/1.42, allocations: 88.31 kB / 0.6515 GB, free: 173.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/1.424, allocations: 1.808 MB / 0.6533 GB, free: 173.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009326/1.425, allocations: 1.247 MB / 0.6545 GB, free: 172.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.412e-06/1.425, allocations: 0 / 0.6545 GB, free: 172.7 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat does not exist to compare? outputFormat=mat