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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 110.6 kB / 17.09 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 195 kB / 18.02 MB, free: 4.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04938/0.04938, allocations: 8.095 MB / 300 MB, free: 6.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.91 kB / 363.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2056, allocations: 51.51 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.006872/0.2125, allocations: 8.836 MB / 423.5 MB, free: 16.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004004/0.2165, allocations: 2.339 MB / 425.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009756/0.2175, allocations: 24 kB / 425.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009507/0.2185, allocations: 417.1 kB / 426.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.2202, allocations: 0.8346 MB / 427.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.2226, allocations: 1.618 MB / 428.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.224, allocations: 1.898 MB / 430.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006135/0.2246, allocations: 0.6921 MB / 431.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005004/0.2251, allocations: 0.7746 MB / 432.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007589/0.2259, allocations: 0.9844 MB / 433.1 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.226, allocations: 188 kB / 433.3 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005947/0.2266, allocations: 439.7 kB / 433.7 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.2269, allocations: 406.6 kB / 434.1 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005405/0.2274, allocations: 0.9099 MB / 435 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.2289, allocations: 2.298 MB / 437.3 MB, free: 2.719 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2289, allocations: 0 / 437.3 MB, free: 2.719 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2289, allocations: 0 / 437.3 MB, free: 2.719 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.2289, allocations: 0 / 437.3 MB, free: 2.719 MB / 302.1 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.01601/0.2449, allocations: 4.148 MB / 441.5 MB, free: 14.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.245, allocations: 8.031 kB / 441.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004555/0.2455, allocations: 186.9 kB / 441.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.2469, allocations: 0.9325 MB / 442.6 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.2471, allocations: 174.8 kB / 442.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.2473, allocations: 136.4 kB / 442.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/0.2505, allocations: 2.013 MB / 444.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.2505, allocations: 0 / 444.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.2507, allocations: 52 kB / 445 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.2507, allocations: 28 kB / 445 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/0.2535, allocations: 1.954 MB / 447 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.2641, allocations: 8.189 MB / 455.1 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004559/0.2687, allocations: 4.587 MB / 459.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001921/0.2707, allocations: 1.406 MB / 461.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/0.2709, allocations: 45.94 kB / 461.2 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002321/0.2732, allocations: 1.437 MB / 462.6 MB, free: 8.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=201): time 4.479e-06/0.2732, allocations: 0 / 462.6 MB, free: 8.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=201): time 0.05662/0.3299, allocations: 13.24 MB / 475.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.33, allocations: 176.2 kB / 476 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.3312, allocations: 0.8058 MB / 476.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003307/0.3315, allocations: 81.64 kB / 476.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.3318, allocations: 434.9 kB / 477.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005641/0.3324, allocations: 0.6699 MB / 478 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006785/0.3331, allocations: 383.9 kB / 478.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3332, allocations: 357.9 kB / 478.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/0.3351, allocations: 1.254 MB / 480 MB, free: 6.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.3372, allocations: 1.43 MB / 481.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004089/0.3413, allocations: 2.807 MB / 484.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.3413, allocations: 0 / 484.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01347/0.3548, allocations: 5.263 MB / 489.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.3548, allocations: 4 kB / 489.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.3549, allocations: 0 / 489.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01392/0.3688, allocations: 3.809 MB / 493.3 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.3703, allocations: 315.5 kB / 493.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02939/0.3997, allocations: 15.86 MB / 0.4975 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.4016, allocations: 193.9 kB / 0.4977 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/0.4018, allocations: 71.97 kB / 0.4978 GB, free: 8.676 MB / 382.1 MB 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,n.y,cmd.pulseStart,$PRE.cmd.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(28,58)} Notification: Performance of prepare postOptimizeDAE: time 0.0007663/0.4026, allocations: 370.3 kB / 0.4981 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.4029, allocations: 142.3 kB / 0.4983 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/0.4163, allocations: 5.202 MB / 0.5034 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/0.4163, allocations: 20 kB / 0.5034 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4163, allocations: 8 kB / 0.5034 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.392e-05/0.4164, allocations: 11.95 kB / 0.5034 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2089/0.6253, allocations: 7.714 MB / 0.5109 GB, free: 89.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.6254, allocations: 2.328 kB / 0.5109 GB, free: 89.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00085/0.6262, allocations: 243.1 kB / 0.5112 GB, free: 89.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01323/0.6395, allocations: 3.264 MB / 0.5143 GB, free: 89.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000354/0.6399, allocations: 46.73 kB / 0.5144 GB, free: 89.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02458/0.6645, allocations: 15.63 MB / 0.5297 GB, free: 79.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6645, allocations: 0 / 0.5297 GB, free: 79.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/0.6761, allocations: 5.029 MB / 0.5346 GB, free: 74.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/0.6766, allocations: 248.1 kB / 0.5348 GB, free: 74.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003332/0.6769, allocations: 47.84 kB / 0.5348 GB, free: 74.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.6782, allocations: 111.5 kB / 0.535 GB, free: 74.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006454/0.6788, allocations: 170.8 kB / 0.5351 GB, free: 74.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.679, allocations: 71.98 kB / 0.5352 GB, free: 74.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006542/0.6796, allocations: 0.5341 MB / 0.5357 GB, free: 73.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6796, allocations: 7.938 kB / 0.5357 GB, free: 73.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001936/0.6816, allocations: 0.73 MB / 0.5364 GB, free: 72.93 MB / 382.1 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,cmd.pulseStart,n.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(28,58)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003644/0.682, allocations: 176 kB / 0.5366 GB, free: 72.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007634/0.6896, allocations: 4.152 MB / 0.5407 GB, free: 68.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.6896, allocations: 5.281 kB / 0.5407 GB, free: 68.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005729/0.6954, allocations: 2.614 MB / 0.5432 GB, free: 65.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.6965, allocations: 183.3 kB / 0.5434 GB, free: 65.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004655/0.7012, allocations: 3.071 MB / 0.5464 GB, free: 62.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.7018, allocations: 1.231 MB / 0.5476 GB, free: 61.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000659/0.7024, allocations: 198 kB / 0.5478 GB, free: 61.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.7027, allocations: 131.3 kB / 0.5479 GB, free: 61.16 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.7027, allocations: 0 / 0.5479 GB, free: 61.16 MB / 382.1 MB Notification: Performance of Templates: time 0.05719/0.7599, allocations: 53.16 MB / 0.5998 GB, free: 8.203 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.makefile (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 & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe 2>&1)