Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.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.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 106.2 kB / 16.57 MB, free: 6.262 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.001195/0.001195, allocations: 194.3 kB / 17.49 MB, free: 5.875 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.333/1.333, allocations: 222.9 MB / 241.2 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04743/0.04743, allocations: 8.084 MB / 299.4 MB, free: 6.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 361.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2456, allocations: 51.51 MB / 413.2 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.005556/0.2512, allocations: 6.604 MB / 419.8 MB, free: 19.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004153/0.2554, allocations: 2.513 MB / 422.3 MB, free: 16.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007406/0.2561, allocations: 20 kB / 422.4 MB, free: 16.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008553/0.2571, allocations: 290.5 kB / 422.6 MB, free: 16.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.2589, allocations: 0.688 MB / 423.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.2613, allocations: 1.527 MB / 424.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.263, allocations: 1.572 MB / 426.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005934/0.2636, allocations: 0.4925 MB / 426.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006584/0.2643, allocations: 0.6032 MB / 427.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007107/0.265, allocations: 0.778 MB / 428.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.2652, allocations: 100 kB / 428.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007613/0.266, allocations: 363.7 kB / 428.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.2662, allocations: 294.8 kB / 429 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000568/0.2668, allocations: 0.7113 MB / 429.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.268, allocations: 1.622 MB / 431.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2681, allocations: 3.938 kB / 431.4 MB, free: 7.555 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2681, allocations: 4 kB / 431.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.161e-05/0.2681, allocations: 0 / 431.4 MB, free: 7.551 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.01482/0.2829, allocations: 3.684 MB / 435.1 MB, free: 3.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.283, allocations: 8.031 kB / 435.1 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004511/0.2834, allocations: 155.3 kB / 435.2 MB, free: 3.641 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.2846, allocations: 0.8394 MB / 436.1 MB, free: 2.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.2848, allocations: 312.6 kB / 436.4 MB, free: 2.406 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.2849, allocations: 120.4 kB / 436.5 MB, free: 2.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/0.2876, allocations: 1.804 MB / 438.3 MB, free: 452 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.2876, allocations: 3.938 kB / 438.3 MB, free: 448 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.2877, allocations: 52 kB / 438.3 MB, free: 396 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.2878, allocations: 24 kB / 438.4 MB, free: 372 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.2905, allocations: 1.707 MB / 440.1 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.3005, allocations: 6.973 MB / 447 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00395/0.3045, allocations: 3.867 MB / 450.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/0.3062, allocations: 1.176 MB / 452.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.3064, allocations: 49.12 kB / 452.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002372/0.3088, allocations: 1.322 MB / 453.5 MB, free: 412 kB / 318.1 MB Notification: Performance of pre-optimization done (n=167): time 3.166e-06/0.3088, allocations: 0 / 453.5 MB, free: 412 kB / 318.1 MB Notification: Performance of matching and sorting (n=167): time 0.03429/0.3431, allocations: 8.969 MB / 462.4 MB, free: 7.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.3433, allocations: 124.8 kB / 462.5 MB, free: 7.246 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.3445, allocations: 0.723 MB / 463.3 MB, free: 6.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003274/0.3448, allocations: 73.7 kB / 463.3 MB, free: 6.438 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/0.3452, allocations: 433.5 kB / 463.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005482/0.3457, allocations: 0.5352 MB / 464.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000638/0.3464, allocations: 339.5 kB / 464.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3466, allocations: 345.9 kB / 465 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.3484, allocations: 1.105 MB / 466.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.3503, allocations: 1.281 MB / 467.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/0.3542, allocations: 2.396 MB / 469.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.3542, allocations: 0 / 469.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.007683/0.3619, allocations: 3.725 MB / 473.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.3619, allocations: 4 kB / 473.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.362, allocations: 4 kB / 473.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01546/0.3774, allocations: 5.325 MB / 478.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.3788, allocations: 247.6 kB / 479.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007633/0.3864, allocations: 3.44 MB / 482.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.3882, allocations: 190.1 kB / 482.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.3884, allocations: 63.98 kB / 482.7 MB, free: 2.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (feeder1.load4.degradedMode,$PRE.feeder1.load4.degradedMode,feeder1.load3.degradedMode,$PRE.feeder1.load3.degradedMode,feeder1.load2.degradedMode,$PRE.feeder1.load2.degradedMode,feeder1.load1.degradedMode,$PRE.feeder1.load1.degradedMode,feeder2.load4.degradedMode,$PRE.feeder2.load4.degradedMode,feeder2.load3.degradedMode,$PRE.feeder2.load3.degradedMode,feeder2.load2.degradedMode,$PRE.feeder2.load2.degradedMode,feeder2.load1.degradedMode,$PRE.feeder2.load1.degradedMode,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 162 * 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 {(40,44)} Notification: Performance of prepare postOptimizeDAE: time 0.0007869/0.3892, allocations: 336.2 kB / 483.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/0.3895, allocations: 126.5 kB / 483.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005817/0.3953, allocations: 3.357 MB / 486.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.3954, allocations: 20 kB / 486.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.3954, allocations: 0 / 486.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/0.3954, allocations: 7.969 kB / 486.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008829/0.4043, allocations: 5.73 MB / 492.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4043, allocations: 0 / 492.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/0.4048, allocations: 147.8 kB / 492.5 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01378/0.4186, allocations: 3.844 MB / 496.3 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004019/0.4191, allocations: 39.94 kB / 496.3 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007234/0.4263, allocations: 3.486 MB / 499.8 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.4264, allocations: 3.938 kB / 499.8 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005482/0.4319, allocations: 3.234 MB / 0.4913 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/0.4323, allocations: 215.2 kB / 0.4915 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.4325, allocations: 32 kB / 0.4915 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.4338, allocations: 119.4 kB / 0.4916 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/0.4342, allocations: 117.8 kB / 0.4917 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/0.4343, allocations: 59.98 kB / 0.4918 GB, free: 13.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007722/0.4351, allocations: 499 kB / 0.4923 GB, free: 13.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4351, allocations: 0 / 0.4923 GB, free: 13.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001188/0.4363, allocations: 447.5 kB / 0.4927 GB, free: 13.01 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,feeder2.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load4.degradedMode,feeder1.load1.degradedMode,feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load4.degradedMode) * Number of discrete states: 8 (feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load1.degradedMode,feeder2.load4.degradedMode,feeder1.load4.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 96 * 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 {(40,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004233/0.4367, allocations: 196.7 kB / 0.4929 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007675/0.4444, allocations: 3.147 MB / 0.496 GB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.4445, allocations: 5.688 kB / 0.496 GB, free: 9.648 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005266/0.4497, allocations: 1.794 MB / 0.4977 GB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.4509, allocations: 172.3 kB / 0.4979 GB, free: 7.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.4558, allocations: 3.141 MB / 0.5009 GB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006236/0.4565, allocations: 1.085 MB / 0.502 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/0.4568, allocations: 99.41 kB / 0.5021 GB, free: 3.324 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4568, allocations: 4 kB / 0.5021 GB, free: 3.32 MB / 382.1 MB Notification: Performance of Templates: time 0.2297/0.6865, allocations: 24.47 MB / 0.526 GB, free: 81.21 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe 2>&1)