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.001729/0.001729, allocations: 106.6 kB / 17.13 MB, free: 5.934 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.00204/0.00204, allocations: 194.1 kB / 18.06 MB, free: 5.016 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.356/1.356, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04424/0.04424, allocations: 8.1 MB / 300 MB, free: 6.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.91 kB / 415.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09303, allocations: 51.53 MB / 466.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.007004/0.1001, allocations: 6.656 MB / 473.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004191/0.1043, allocations: 2.54 MB / 475.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.1053, allocations: 20 kB / 475.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.1065, allocations: 345.6 kB / 476.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.1093, allocations: 0.7689 MB / 477 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.1127, allocations: 1.584 MB / 478.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002814/0.1155, allocations: 1.705 MB / 480.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008943/0.1164, allocations: 0.5774 MB / 480.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.1175, allocations: 0.6814 MB / 481.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.1189, allocations: 0.8405 MB / 482.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004609/0.1193, allocations: 180 kB / 482.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.1205, allocations: 439.8 kB / 483 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005901/0.1211, allocations: 378.8 kB / 483.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.1222, allocations: 0.7894 MB / 484.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.1246, allocations: 2.084 MB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1247, allocations: 4 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1247, allocations: 0 / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.1247, allocations: 0 / 486.3 MB, free: 14.47 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.01536/0.1401, allocations: 3.677 MB / 489.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.1401, allocations: 12.03 kB / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/0.1405, allocations: 159.2 kB / 490.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.142, allocations: 0.8355 MB / 490.9 MB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002337/0.1422, allocations: 316.7 kB / 491.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.1424, allocations: 112.4 kB / 491.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003044/0.1455, allocations: 1.808 MB / 493.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.1455, allocations: 11.94 kB / 493.2 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.1457, allocations: 51.98 kB / 493.2 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.1457, allocations: 24 kB / 493.3 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/0.1485, allocations: 1.703 MB / 495 MB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/0.1589, allocations: 6.934 MB / 0.4901 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003897/0.1628, allocations: 3.874 MB / 0.4939 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.1645, allocations: 1.184 MB / 0.4951 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.1647, allocations: 45.19 kB / 0.4951 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002138/0.1668, allocations: 1.318 MB / 0.4964 GB, free: 7.344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=167): time 4.228e-06/0.1669, allocations: 3.938 kB / 0.4964 GB, free: 7.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.2226/0.3895, allocations: 8.976 MB / 0.5052 GB, free: 45.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.3896, allocations: 121.3 kB / 0.5053 GB, free: 45.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.3907, allocations: 0.7239 MB / 0.506 GB, free: 45.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002794/0.391, allocations: 75.52 kB / 0.5061 GB, free: 45.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.3913, allocations: 419.5 kB / 0.5065 GB, free: 44.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004515/0.3917, allocations: 0.5396 MB / 0.507 GB, free: 44.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006589/0.3924, allocations: 338.4 kB / 0.5073 GB, free: 44.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.72e-05/0.3925, allocations: 348 kB / 0.5076 GB, free: 43.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.3942, allocations: 1.107 MB / 0.5087 GB, free: 43.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.396, allocations: 1.276 MB / 0.51 GB, free: 42.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003432/0.3994, allocations: 2.4 MB / 0.5123 GB, free: 41.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.3994, allocations: 3.891 kB / 0.5123 GB, free: 41.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.007358/0.4068, allocations: 3.727 MB / 0.516 GB, free: 39.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.4068, allocations: 5.672 kB / 0.516 GB, free: 39.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4068, allocations: 1.219 kB / 0.516 GB, free: 39.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01466/0.4215, allocations: 5.331 MB / 0.5212 GB, free: 39.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009575/0.4225, allocations: 248.8 kB / 0.5214 GB, free: 39.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006059/0.4286, allocations: 3.429 MB / 0.5248 GB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.4298, allocations: 183.8 kB / 0.5249 GB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.43, allocations: 67.06 kB / 0.525 GB, free: 36.97 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.0005563/0.4306, allocations: 341.6 kB / 0.5253 GB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.4308, allocations: 125.4 kB / 0.5254 GB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004554/0.4354, allocations: 3.346 MB / 0.5287 GB, free: 34.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.4354, allocations: 20.89 kB / 0.5287 GB, free: 34.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4354, allocations: 0 / 0.5287 GB, free: 34.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.4356, allocations: 216.2 kB / 0.5289 GB, free: 33.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.4358, allocations: 32.75 kB / 0.529 GB, free: 33.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.437, allocations: 122 kB / 0.5291 GB, free: 33.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/0.4372, allocations: 123.8 kB / 0.5292 GB, free: 33.78 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008269/0.4455, allocations: 3.668 MB / 0.5328 GB, free: 30.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004335/0.4499, allocations: 3.468 MB / 0.5362 GB, free: 27.21 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001188/0.4511, allocations: 1.004 MB / 0.5371 GB, free: 26.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006657/0.4518, allocations: 485.3 kB / 0.5376 GB, free: 25.88 MB / 382.1 MB Notification: Performance of Backend: time 1.032e-06/0.4518, allocations: 1.688 kB / 0.5376 GB, free: 25.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006685/0.4585, allocations: 2.426 MB / 0.54 GB, free: 23.68 MB / 382.1 MB Notification: Performance of SimCode: time 0.003065/0.4616, allocations: 3.07 MB / 0.543 GB, free: 20.6 MB / 382.1 MB Notification: Performance of Templates: time 0.03945/0.501, allocations: 33.62 MB / 0.5758 GB, free: 3.121 MB / 398.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)