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/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 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.0009043/0.0009042, allocations: 102.5 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 179.9 kB / 16.96 MB, free: 6.668 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.53/1.53, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2025/0.2025, allocations: 8.091 MB / 300.2 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003253, allocations: 8 kB / 363.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1334, allocations: 52.5 MB / 416 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.007219/0.1406, allocations: 6.121 MB / 422.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2291/0.3698, allocations: 2.485 MB / 424.6 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.3711, allocations: 22.09 kB / 424.6 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008489/0.372, allocations: 292.5 kB / 424.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.3738, allocations: 0.6835 MB / 425.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.3764, allocations: 1.496 MB / 427.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001547/0.3779, allocations: 1.58 MB / 428.7 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005827/0.3785, allocations: 0.4964 MB / 429.2 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005196/0.379, allocations: 0.5573 MB / 429.7 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006281/0.3797, allocations: 0.7212 MB / 430.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.3798, allocations: 73.09 kB / 430.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006263/0.3804, allocations: 328.2 kB / 430.8 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.3806, allocations: 261.2 kB / 431.1 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005535/0.3812, allocations: 0.6983 MB / 431.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.3827, allocations: 1.948 MB / 433.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3828, allocations: 7.938 kB / 433.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3828, allocations: 0 / 433.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.3828, allocations: 0 / 433.7 MB, free: 33.95 MB / 350.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.01383/0.3966, allocations: 3.456 MB / 437.2 MB, free: 33.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3967, allocations: 9.531 kB / 437.2 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006306/0.3973, allocations: 165.5 kB / 437.4 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.3985, allocations: 0.8431 MB / 438.2 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.3987, allocations: 316.2 kB / 438.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.399, allocations: 114.9 kB / 438.6 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002758/0.4017, allocations: 1.829 MB / 440.5 MB, free: 32.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.4017, allocations: 3.938 kB / 440.5 MB, free: 32.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.4019, allocations: 52.78 kB / 440.5 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.4019, allocations: 25.81 kB / 440.5 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.4043, allocations: 1.725 MB / 442.3 MB, free: 31.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008736/0.4131, allocations: 7.062 MB / 449.3 MB, free: 26.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.4163, allocations: 3.867 MB / 453.2 MB, free: 23.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.4177, allocations: 1.179 MB / 454.4 MB, free: 22.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.4179, allocations: 44.23 kB / 454.4 MB, free: 22.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001997/0.4199, allocations: 1.321 MB / 455.7 MB, free: 22.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=167): time 3.467e-06/0.4199, allocations: 0 / 455.7 MB, free: 22.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=167): time 0.03283/0.4528, allocations: 8.991 MB / 464.7 MB, free: 19.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.4529, allocations: 121.5 kB / 464.9 MB, free: 19.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.4543, allocations: 0.7434 MB / 465.6 MB, free: 19.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003079/0.4546, allocations: 76.42 kB / 465.7 MB, free: 19.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.4549, allocations: 416.8 kB / 466.1 MB, free: 18.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005711/0.4555, allocations: 0.5428 MB / 466.6 MB, free: 18.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/0.4559, allocations: 169 kB / 466.8 MB, free: 18.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.456, allocations: 348.8 kB / 467.1 MB, free: 18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.4581, allocations: 1.121 MB / 468.2 MB, free: 17.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.4602, allocations: 1.29 MB / 469.5 MB, free: 16.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003757/0.464, allocations: 2.408 MB / 471.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.464, allocations: 1.938 kB / 472 MB, free: 15.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.007155/0.4712, allocations: 3.751 MB / 475.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.4713, allocations: 9.891 kB / 475.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4713, allocations: 1.062 kB / 475.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01632/0.4876, allocations: 5.378 MB / 481.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.489, allocations: 256.9 kB / 481.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007138/0.4962, allocations: 3.431 MB / 484.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/0.4982, allocations: 198.3 kB / 485 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.4984, allocations: 70.78 kB / 485 MB, free: 10.87 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.000943/0.4994, allocations: 343.8 kB / 485.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/0.4997, allocations: 125.7 kB / 485.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005259/0.505, allocations: 3.362 MB / 488.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.505, allocations: 23.94 kB / 488.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.505, allocations: 0 / 488.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/0.505, allocations: 8.766 kB / 488.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006947/0.512, allocations: 5.741 MB / 494.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.512, allocations: 0 / 494.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.5125, allocations: 147.8 kB / 494.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01323/0.5257, allocations: 3.895 MB / 498.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003371/0.5261, allocations: 39.98 kB / 498.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007706/0.5338, allocations: 3.475 MB / 0.4904 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.5338, allocations: 0 / 0.4904 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005454/0.5393, allocations: 3.234 MB / 0.4936 GB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/0.5399, allocations: 223.2 kB / 0.4938 GB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/0.5402, allocations: 32 kB / 0.4938 GB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/0.5422, allocations: 145.8 kB / 0.494 GB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004403/0.5426, allocations: 117.8 kB / 0.4941 GB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002439/0.5429, allocations: 63.98 kB / 0.4941 GB, free: 6.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009609/0.5439, allocations: 0.4951 MB / 0.4946 GB, free: 6.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5439, allocations: 0 / 0.4946 GB, free: 6.055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001516/0.5454, allocations: 459.4 kB / 0.495 GB, free: 5.605 MB / 366.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.0004305/0.5459, allocations: 183.5 kB / 0.4952 GB, free: 5.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008105/0.554, allocations: 3.142 MB / 0.4983 GB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.554, allocations: 5.938 kB / 0.4983 GB, free: 2.273 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005558/0.5596, allocations: 1.793 MB / 0.5 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.5608, allocations: 171.7 kB / 0.5002 GB, free: 336 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005636/0.5665, allocations: 3.122 MB / 0.5033 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.5672, allocations: 1.089 MB / 0.5043 GB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007119/0.5679, allocations: 157 kB / 0.5045 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.5682, allocations: 95.41 kB / 0.5046 GB, free: 11.83 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5682, allocations: 0 / 0.5046 GB, free: 11.83 MB / 382.1 MB Notification: Performance of Templates: time 0.04394/0.6121, allocations: 28.34 MB / 0.5322 GB, free: 15.59 MB / 414.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: