Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.001023/0.001023, allocations: 182.3 kB / 8.131 MB, free: 2.219 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.317/1.317, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.0008801/0.00088, allocations: 90.81 kB / 261.7 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1757/0.1757, allocations: 37.97 MB / 347.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.245/0.4207, allocations: 62.44 MB / 410.1 MB, free: 46.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.549, allocations: 56.32 MB / 466.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.388/0.9371, allocations: 95.15 MB / 0.5484 GB, free: 15.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.9375, allocations: 79.95 kB / 0.5485 GB, free: 15.35 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.1361/1.074, allocations: 54.4 MB / 0.6016 GB, free: 8.211 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.074, allocations: 16 kB / 0.6016 GB, free: 8.195 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003977/1.078, allocations: 390.5 kB / 0.602 GB, free: 7.812 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/1.079, allocations: 484.2 kB / 0.6025 GB, free: 7.301 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/1.079, allocations: 24 kB / 0.6025 GB, free: 7.277 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/1.079, allocations: 47.94 kB / 0.6025 GB, free: 7.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001827/1.081, allocations: 0.941 MB / 0.6034 GB, free: 6.289 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/1.083, allocations: 1.059 MB / 0.6045 GB, free: 5.203 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/1.083, allocations: 7.844 kB / 0.6045 GB, free: 5.195 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.425e-05/1.083, allocations: 0 / 0.6045 GB, free: 5.195 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002929/1.083, allocations: 101.9 kB / 0.6046 GB, free: 5.094 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005953/1.089, allocations: 3.441 MB / 0.6079 GB, free: 1.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/1.091, allocations: 0.9697 MB / 0.6089 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008277/1.092, allocations: 0.621 MB / 0.6095 GB, free: 15.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.91e-05/1.092, allocations: 20.62 kB / 0.6095 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/1.092, allocations: 47.28 kB / 0.6096 GB, free: 15.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 3.426e-06/1.092, allocations: 0 / 0.6096 GB, free: 15.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.003817/1.096, allocations: 1.94 MB / 0.6115 GB, free: 13.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/1.096, allocations: 93.86 kB / 0.6115 GB, free: 13.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/1.096, allocations: 293.9 kB / 0.6118 GB, free: 13.53 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.464e-05/1.096, allocations: 25.7 kB / 0.6119 GB, free: 13.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/1.096, allocations: 272.2 kB / 0.6121 GB, free: 13.22 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/1.097, allocations: 303.5 kB / 0.6124 GB, free: 12.92 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/1.097, allocations: 0 / 0.6124 GB, free: 12.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/1.097, allocations: 370.7 kB / 0.6128 GB, free: 12.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006453/1.097, allocations: 429.8 kB / 0.6132 GB, free: 12.13 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007549/1.098, allocations: 0.5285 MB / 0.6137 GB, free: 11.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008135/1.099, allocations: 0.5119 MB / 0.6142 GB, free: 11.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.099, allocations: 0 / 0.6142 GB, free: 11.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002525/1.102, allocations: 1.362 MB / 0.6155 GB, free: 9.688 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.102, allocations: 9.406 kB / 0.6155 GB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.102, allocations: 0 / 0.6155 GB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/1.103, allocations: 320.5 kB / 0.6158 GB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008364/1.104, allocations: 167.8 kB / 0.616 GB, free: 9.203 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004887/1.108, allocations: 3.461 MB / 0.6194 GB, free: 5.621 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007284/1.109, allocations: 35.89 kB / 0.6194 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/1.109, allocations: 24 kB / 0.6194 GB, free: 5.562 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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.0002767/1.11, allocations: 124.8 kB / 0.6195 GB, free: 5.434 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/1.11, allocations: 59.25 kB / 0.6196 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/1.113, allocations: 1.467 MB / 0.621 GB, free: 3.895 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/1.113, allocations: 19.98 kB / 0.6211 GB, free: 3.875 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/1.113, allocations: 4 kB / 0.6211 GB, free: 3.871 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/1.113, allocations: 3.984 kB / 0.6211 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005582/1.118, allocations: 2.88 MB / 0.6239 GB, free: 0.875 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.118, allocations: 11.94 kB / 0.6239 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007456/1.119, allocations: 159.8 kB / 0.624 GB, free: 0.707 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008681/1.12, allocations: 280.6 kB / 0.6243 GB, free: 440 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.872e-05/1.12, allocations: 15.98 kB / 0.6243 GB, free: 424 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004768/1.125, allocations: 3.255 MB / 0.6275 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/1.125, allocations: 7.938 kB / 0.6275 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002698/1.128, allocations: 1.68 MB / 0.6291 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002857/1.131, allocations: 2.074 MB / 0.6312 GB, free: 8.961 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/1.131, allocations: 140.3 kB / 0.6313 GB, free: 8.805 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/1.131, allocations: 7.984 kB / 0.6313 GB, free: 8.797 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005711/1.132, allocations: 23.98 kB / 0.6313 GB, free: 8.773 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/1.132, allocations: 60.59 kB / 0.6314 GB, free: 8.715 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-05/1.132, allocations: 32 kB / 0.6314 GB, free: 8.684 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003934/1.132, allocations: 228.6 kB / 0.6316 GB, free: 8.461 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002082/1.134, allocations: 268 kB / 0.6319 GB, free: 8.199 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.0002548/1.135, allocations: 121.1 kB / 0.632 GB, free: 8.074 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002095/1.137, allocations: 1.257 MB / 0.6332 GB, free: 6.812 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.137, allocations: 0 / 0.6332 GB, free: 6.812 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/1.138, allocations: 0.7543 MB / 0.634 GB, free: 6.047 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/1.138, allocations: 73.86 kB / 0.634 GB, free: 5.977 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/1.141, allocations: 1.492 MB / 0.6355 GB, free: 4.406 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008713/1.142, allocations: 1.131 MB / 0.6366 GB, free: 3.246 MB / 474.7 MB Notification: Performance of SimCode: time 5.51e-07/1.142, allocations: 0 / 0.6366 GB, free: 3.246 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat does not exist to compare? outputFormat=mat