Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers",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 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 187.9 kB / 7.845 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 221.4 MB / 229.7 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009671/0.0009671, allocations: 91.92 kB / 280.5 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04008/0.04008, allocations: 8.101 MB / 339.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1897/0.2298, allocations: 58.62 MB / 398 MB, free: 67.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07272/0.3026, allocations: 52.52 MB / 450.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2576/0.5603, allocations: 82.77 MB / 0.5208 GB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.5606, allocations: 70.28 kB / 0.5208 GB, free: 11.27 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.1333/0.6939, allocations: 49.18 MB / 0.5689 GB, free: 1.012 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.694, allocations: 11.94 kB / 0.5689 GB, free: 1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007626/0.6947, allocations: 189.9 kB / 0.5691 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.6966, allocations: 0.9084 MB / 0.57 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.6968, allocations: 109.8 kB / 0.5701 GB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003576/0.6972, allocations: 64 kB / 0.5701 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003572/0.7008, allocations: 1.871 MB / 0.572 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.7043, allocations: 1.817 MB / 0.5737 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.7043, allocations: 0 / 0.5737 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.7045, allocations: 4 kB / 0.5737 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.7045, allocations: 31.98 kB / 0.5738 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/0.7179, allocations: 8.579 MB / 0.5821 GB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/0.721, allocations: 2.079 MB / 0.5842 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/0.7229, allocations: 1.3 MB / 0.5854 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.7231, allocations: 53.84 kB / 0.5855 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002074/0.7252, allocations: 1.348 MB / 0.5868 GB, free: 13.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 4.088e-06/0.7252, allocations: 0 / 0.5868 GB, free: 13.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.01495/0.7401, allocations: 4.682 MB / 0.5914 GB, free: 9.172 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.7403, allocations: 180.2 kB / 0.5916 GB, free: 8.961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.7413, allocations: 0.6065 MB / 0.5921 GB, free: 8.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00042/0.7418, allocations: 25.7 kB / 0.5922 GB, free: 8.316 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.7421, allocations: 302.1 kB / 0.5925 GB, free: 8.016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008124/0.7429, allocations: 0.631 MB / 0.5931 GB, free: 7.375 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.743, allocations: 0 / 0.5931 GB, free: 7.375 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.7432, allocations: 361.9 kB / 0.5934 GB, free: 7.016 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.7449, allocations: 1.039 MB / 0.5944 GB, free: 5.977 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.7467, allocations: 1.167 MB / 0.5956 GB, free: 4.797 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/0.75, allocations: 1.271 MB / 0.5968 GB, free: 3.531 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.75, allocations: 4 kB / 0.5968 GB, free: 3.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01482/0.7649, allocations: 4.807 MB / 0.6015 GB, free: 14.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.7649, allocations: 4 kB / 0.6015 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.7649, allocations: 0 / 0.6015 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01353/0.7785, allocations: 3.046 MB / 0.6045 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.7796, allocations: 211.7 kB / 0.6047 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02792/0.8075, allocations: 12.78 MB / 0.6172 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.8093, allocations: 106.7 kB / 0.6173 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/0.8096, allocations: 63.95 kB / 0.6173 GB, free: 14.36 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: feeder1.load1.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real feeder2.load1.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real feeder1.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real feeder1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,brk2.BrkOpen,$PRE.cmd.pulseStart,cmd.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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: 0 * Non-linear torn systems: 1 {28 58} Notification: Performance of prepare postOptimizeDAE: time 0.0004808/0.8101, allocations: 139.1 kB / 0.6175 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.8104, allocations: 146.3 kB / 0.6176 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/0.826, allocations: 5.128 MB / 0.6226 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-05/0.8261, allocations: 24 kB / 0.6226 GB, free: 8.906 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8261, allocations: 7.938 kB / 0.6226 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.112e-05/0.8261, allocations: 11.95 kB / 0.6227 GB, free: 8.887 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/0.8296, allocations: 2.475 MB / 0.6251 GB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.8296, allocations: 3.938 kB / 0.6251 GB, free: 6.363 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009506/0.8306, allocations: 239.6 kB / 0.6253 GB, free: 6.129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01329/0.8439, allocations: 3.043 MB / 0.6283 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003626/0.8443, allocations: 23.97 kB / 0.6283 GB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02804/0.8723, allocations: 12.83 MB / 0.6408 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.8724, allocations: 0 / 0.6408 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01511/0.8875, allocations: 4.837 MB / 0.6456 GB, free: 1.223 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1526/1.04, allocations: 5.232 MB / 0.6507 GB, free: 178.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/1.041, allocations: 238 kB / 0.6509 GB, free: 178.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/1.041, allocations: 2.672 kB / 0.6509 GB, free: 178.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/1.042, allocations: 95.48 kB / 0.651 GB, free: 178.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000289/1.043, allocations: 122.3 kB / 0.6511 GB, free: 178.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001763/1.043, allocations: 62.61 kB / 0.6512 GB, free: 178.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0005769/1.043, allocations: 481.5 kB / 0.6516 GB, free: 178 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002262/1.046, allocations: 0.5796 MB / 0.6522 GB, free: 178 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,brk2.BrkOpen,cmd.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 142 * 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: 0 * Non-linear torn systems: 1 {29 57} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003645/1.046, allocations: 129.1 kB / 0.6523 GB, free: 177.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007849/1.054, allocations: 3.438 MB / 0.6557 GB, free: 177.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.054, allocations: 4.781 kB / 0.6557 GB, free: 177.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00608/1.06, allocations: 2.302 MB / 0.6579 GB, free: 177.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009147/1.061, allocations: 107 kB / 0.658 GB, free: 177.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005606/1.067, allocations: 2.204 MB / 0.6602 GB, free: 177 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009949/1.068, allocations: 1.337 MB / 0.6615 GB, free: 176.3 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/1.068, allocations: 3.844 kB / 0.6615 GB, free: 176.3 MB / 458.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe 2>&1)