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.001554/0.001554, allocations: 124.2 kB / 17.14 MB, free: 5.914 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.001799/0.001799, allocations: 190.9 kB / 18.06 MB, free: 5 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.344/1.344, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04809/0.04809, allocations: 8.093 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 68.03 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07875/0.07997, allocations: 51.52 MB / 466.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.007369/0.08738, allocations: 6.66 MB / 473.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004692/0.0921, allocations: 2.54 MB / 475.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.09336, allocations: 20 kB / 475.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.09465, allocations: 349.6 kB / 476.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.09749, allocations: 0.7727 MB / 477 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003382/0.1009, allocations: 1.583 MB / 478.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.1036, allocations: 1.705 MB / 480.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.1046, allocations: 0.5813 MB / 480.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.1057, allocations: 0.6929 MB / 481.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.1072, allocations: 0.825 MB / 482.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005046/0.1077, allocations: 184 kB / 482.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.109, allocations: 443.7 kB / 483 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005512/0.1096, allocations: 374.8 kB / 483.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.1109, allocations: 0.7894 MB / 484.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002835/0.1137, allocations: 2.084 MB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1137, allocations: 0 / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.1137, allocations: 0 / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.915e-05/0.1138, allocations: 3.938 kB / 486.3 MB, free: 14.5 MB / 366.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.01646/0.1303, allocations: 3.674 MB / 489.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1303, allocations: 19.89 kB / 489.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006216/0.131, allocations: 163.2 kB / 490.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.1325, allocations: 0.8316 MB / 490.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.1327, allocations: 316.7 kB / 491.2 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.1331, allocations: 116.4 kB / 491.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/0.1365, allocations: 1.804 MB / 493.2 MB, free: 7.387 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.1365, allocations: 7.938 kB / 493.2 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/0.1367, allocations: 48 kB / 493.2 MB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.1368, allocations: 28 kB / 493.2 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002914/0.1397, allocations: 1.707 MB / 495 MB, free: 5.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0098/0.1495, allocations: 6.93 MB / 0.4901 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003748/0.1533, allocations: 3.878 MB / 0.4939 GB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.155, allocations: 1.184 MB / 0.4951 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.1552, allocations: 41.2 kB / 0.4951 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002188/0.1574, allocations: 1.322 MB / 0.4964 GB, free: 7.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=167): time 3.466e-06/0.1574, allocations: 3.938 kB / 0.4964 GB, free: 7.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.2402/0.3976, allocations: 8.97 MB / 0.5052 GB, free: 44.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.3977, allocations: 122.2 kB / 0.5053 GB, free: 44.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3988, allocations: 0.7203 MB / 0.506 GB, free: 44.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002922/0.3991, allocations: 72.06 kB / 0.506 GB, free: 44.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.3994, allocations: 425.9 kB / 0.5065 GB, free: 44.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004264/0.3999, allocations: 0.5398 MB / 0.507 GB, free: 44.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006174/0.4005, allocations: 336.3 kB / 0.5073 GB, free: 44.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.4006, allocations: 344.2 kB / 0.5076 GB, free: 43.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.4023, allocations: 1.111 MB / 0.5087 GB, free: 43.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.4041, allocations: 1.276 MB / 0.51 GB, free: 42.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003384/0.4075, allocations: 2.401 MB / 0.5123 GB, free: 41.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.4075, allocations: 0.6094 kB / 0.5123 GB, free: 41.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.007094/0.4146, allocations: 3.729 MB / 0.5159 GB, free: 39.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4146, allocations: 5.156 kB / 0.516 GB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4146, allocations: 4.844 kB / 0.516 GB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01514/0.4298, allocations: 5.327 MB / 0.5212 GB, free: 38.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.4311, allocations: 246.6 kB / 0.5214 GB, free: 38.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006108/0.4373, allocations: 3.435 MB / 0.5247 GB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.4387, allocations: 181.6 kB / 0.5249 GB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.4388, allocations: 63.12 kB / 0.525 GB, free: 36.77 MB / 382.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.000567/0.4394, allocations: 350.5 kB / 0.5253 GB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.4396, allocations: 119.5 kB / 0.5254 GB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004652/0.4443, allocations: 3.351 MB / 0.5287 GB, free: 34.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.4443, allocations: 22.19 kB / 0.5287 GB, free: 34.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4443, allocations: 3.938 kB / 0.5287 GB, free: 34.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/0.4444, allocations: 9.516 kB / 0.5287 GB, free: 34.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006113/0.4505, allocations: 5.704 MB / 0.5343 GB, free: 29.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.4505, allocations: 0 / 0.5343 GB, free: 29.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/0.451, allocations: 150.9 kB / 0.5344 GB, free: 28.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01215/0.4631, allocations: 3.795 MB / 0.5382 GB, free: 25.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001984/0.4634, allocations: 32 kB / 0.5382 GB, free: 25.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005998/0.4694, allocations: 3.501 MB / 0.5416 GB, free: 21.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4694, allocations: 3.984 kB / 0.5416 GB, free: 21.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004201/0.4736, allocations: 3.226 MB / 0.5448 GB, free: 18.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.4739, allocations: 231.1 kB / 0.545 GB, free: 18.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.4741, allocations: 36 kB / 0.545 GB, free: 18.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.4754, allocations: 114.8 kB / 0.5451 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/0.4757, allocations: 121.8 kB / 0.5452 GB, free: 18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.4758, allocations: 59.98 kB / 0.5453 GB, free: 17.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005692/0.4764, allocations: 499 kB / 0.5458 GB, free: 17.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4764, allocations: 0 / 0.5458 GB, free: 17.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000921/0.4773, allocations: 454.7 kB / 0.5462 GB, free: 17.02 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 {(42,50)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003264/0.4776, allocations: 189.2 kB / 0.5464 GB, free: 16.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006501/0.4841, allocations: 3.183 MB / 0.5495 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4842, allocations: 1.688 kB / 0.5495 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004867/0.489, allocations: 1.864 MB / 0.5513 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009191/0.49, allocations: 175.8 kB / 0.5515 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.4937, allocations: 2.627 MB / 0.5541 GB, free: 9.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.4941, allocations: 1.089 MB / 0.5551 GB, free: 7.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.4943, allocations: 100.9 kB / 0.5552 GB, free: 7.785 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4944, allocations: 0 / 0.5552 GB, free: 7.785 MB / 382.1 MB Notification: Performance of Templates: time 0.02741/0.5218, allocations: 24.62 MB / 0.5793 GB, free: 15.2 MB / 414.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)