Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_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.2+maint.om/package.mo): time 0.001099/0.001099, allocations: 179.3 kB / 8.132 MB, free: 2.215 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.9878/0.9878, allocations: 194.2 MB / 202.8 MB, free: 8.75 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.001773/0.001773, allocations: 124.3 kB / 247.8 MB, free: 6.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1674/0.1674, allocations: 37.92 MB / 330.5 MB, free: 6.988 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2049/0.3723, allocations: 59.34 MB / 389.9 MB, free: 78.04 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07093/0.4433, allocations: 53.23 MB / 443.1 MB, free: 24.91 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2268/0.6701, allocations: 90.16 MB / 0.5208 GB, free: 10.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.6704, allocations: 84.2 kB / 0.5208 GB, free: 10.59 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.1171/0.7875, allocations: 54.38 MB / 0.574 GB, free: 1.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.7876, allocations: 12 kB / 0.574 GB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003408/0.791, allocations: 398.4 kB / 0.5744 GB, free: 1.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008033/0.7918, allocations: 484.2 kB / 0.5748 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.7919, allocations: 24 kB / 0.5748 GB, free: 0.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.792, allocations: 40 kB / 0.5749 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001445/0.7934, allocations: 0.941 MB / 0.5758 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.795, allocations: 1.066 MB / 0.5768 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/0.795, allocations: 3.906 kB / 0.5768 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.097e-05/0.7951, allocations: 3.984 kB / 0.5768 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002571/0.7954, allocations: 97.91 kB / 0.5769 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005142/0.8005, allocations: 3.443 MB / 0.5803 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.802, allocations: 0.9536 MB / 0.5812 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008047/0.8028, allocations: 0.6362 MB / 0.5818 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-05/0.8029, allocations: 16.45 kB / 0.5819 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.8029, allocations: 43.34 kB / 0.5819 GB, free: 9.402 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 2.785e-06/0.8029, allocations: 0 / 0.5819 GB, free: 9.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.003252/0.8062, allocations: 1.932 MB / 0.5838 GB, free: 7.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.8062, allocations: 89.89 kB / 0.5839 GB, free: 7.355 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.8065, allocations: 301.9 kB / 0.5842 GB, free: 7.059 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-05/0.8066, allocations: 29.73 kB / 0.5842 GB, free: 7.023 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.8067, allocations: 272.2 kB / 0.5845 GB, free: 6.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.807, allocations: 303.5 kB / 0.5847 GB, free: 6.449 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.807, allocations: 0 / 0.5847 GB, free: 6.449 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.8072, allocations: 362.7 kB / 0.5851 GB, free: 6.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005781/0.8078, allocations: 441.8 kB / 0.5855 GB, free: 5.652 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/0.8085, allocations: 0.5284 MB / 0.586 GB, free: 5.094 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007042/0.8092, allocations: 0.5042 MB / 0.5865 GB, free: 4.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8092, allocations: 8 kB / 0.5865 GB, free: 4.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002193/0.8114, allocations: 1.361 MB / 0.5879 GB, free: 3.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.8114, allocations: 7.984 kB / 0.5879 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.8114, allocations: 4 kB / 0.5879 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009046/0.8123, allocations: 312 kB / 0.5882 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007333/0.8131, allocations: 179.8 kB / 0.5883 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004298/0.8174, allocations: 3.457 MB / 0.5917 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/0.818, allocations: 27.95 kB / 0.5917 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.5e-05/0.8181, allocations: 36.06 kB / 0.5918 GB, free: 15.09 MB / 410.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.0001886/0.8182, allocations: 112.8 kB / 0.5919 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.8184, allocations: 59.34 kB / 0.5919 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.8213, allocations: 1.478 MB / 0.5934 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.8213, allocations: 12 kB / 0.5934 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.8213, allocations: 4 kB / 0.5934 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.8213, allocations: 7.969 kB / 0.5934 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00464/0.826, allocations: 2.859 MB / 0.5962 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.826, allocations: 7.938 kB / 0.5962 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006711/0.8267, allocations: 156.2 kB / 0.5964 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007969/0.8275, allocations: 291.1 kB / 0.5966 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-05/0.8275, allocations: 15.98 kB / 0.5966 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004027/0.8316, allocations: 3.263 MB / 0.5998 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.8316, allocations: 4 kB / 0.5998 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002178/0.8338, allocations: 1.683 MB / 0.6015 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002289/0.8361, allocations: 2.078 MB / 0.6035 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.8363, allocations: 140.3 kB / 0.6036 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.8364, allocations: 4 kB / 0.6036 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.8368, allocations: 23.97 kB / 0.6037 GB, free: 2.375 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.8369, allocations: 68.53 kB / 0.6037 GB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.129e-05/0.837, allocations: 32 kB / 0.6038 GB, free: 2.277 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002205/0.8372, allocations: 228.6 kB / 0.604 GB, free: 2.051 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001406/0.8386, allocations: 268 kB / 0.6042 GB, free: 1.789 MB / 410.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.0001665/0.8388, allocations: 119 kB / 0.6044 GB, free: 1.664 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.8405, allocations: 1.253 MB / 0.6056 GB, free: 412 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8405, allocations: 0.5625 kB / 0.6056 GB, free: 412 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.8416, allocations: 0.7551 MB / 0.6063 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.842, allocations: 78.69 kB / 0.6064 GB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.8445, allocations: 1.488 MB / 0.6078 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008686/0.8454, allocations: 1.131 MB / 0.6089 GB, free: 12.84 MB / 426.7 MB Notification: Performance of SimCode: time 8.737e-06/0.8454, allocations: 0 / 0.6089 GB, free: 12.84 MB / 426.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)