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.00117/0.00117, allocations: 104.7 kB / 16.45 MB, free: 6.441 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.001172/0.001172, allocations: 188.9 kB / 17.39 MB, free: 5.688 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.464/1.464, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05427/0.05427, allocations: 8.108 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.91 kB / 414.5 MB, free: 21.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1039, allocations: 51.51 MB / 466 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.01151/0.1154, allocations: 6.656 MB / 472.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008689/0.1242, allocations: 2.54 MB / 475.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.1257, allocations: 20 kB / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.1274, allocations: 349.6 kB / 475.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004168/0.1315, allocations: 0.7727 MB / 476.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006578/0.1381, allocations: 1.576 MB / 477.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004429/0.1426, allocations: 1.717 MB / 479.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.1441, allocations: 0.5696 MB / 480.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.1456, allocations: 0.6891 MB / 480.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.1472, allocations: 0.8366 MB / 481.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003455/0.1476, allocations: 176 kB / 481.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.1491, allocations: 443.7 kB / 482.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004904/0.1496, allocations: 374.8 kB / 482.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.1508, allocations: 0.7855 MB / 483.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003854/0.1547, allocations: 2.092 MB / 485.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1547, allocations: 0 / 485.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1547, allocations: 4 kB / 485.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.141e-05/0.1548, allocations: 0 / 485.6 MB, free: 14.39 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.03096/0.1858, allocations: 3.68 MB / 489.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.977e-05/0.1859, allocations: 8.031 kB / 489.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007013/0.1866, allocations: 159.2 kB / 489.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.1888, allocations: 0.8394 MB / 490.3 MB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003313/0.1892, allocations: 320.6 kB / 490.6 MB, free: 9.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/0.1895, allocations: 116.4 kB / 490.7 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005641/0.1952, allocations: 1.808 MB / 492.5 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.1952, allocations: 3.938 kB / 492.5 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/0.1955, allocations: 56 kB / 492.6 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/0.1956, allocations: 24 kB / 492.6 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005187/0.2008, allocations: 1.707 MB / 494.3 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01828/0.2191, allocations: 6.934 MB / 0.4895 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007022/0.2262, allocations: 3.867 MB / 0.4932 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003213/0.2294, allocations: 1.184 MB / 0.4944 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.2297, allocations: 49.19 kB / 0.4944 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003928/0.2337, allocations: 1.318 MB / 0.4957 GB, free: 7.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=167): time 6.472e-06/0.2337, allocations: 0 / 0.4957 GB, free: 7.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.2797/0.5134, allocations: 8.968 MB / 0.5045 GB, free: 45.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.5136, allocations: 124.8 kB / 0.5046 GB, free: 45.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.5149, allocations: 0.7236 MB / 0.5053 GB, free: 45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003476/0.5152, allocations: 72.64 kB / 0.5054 GB, free: 44.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.5156, allocations: 423.1 kB / 0.5058 GB, free: 44.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004301/0.516, allocations: 0.5388 MB / 0.5063 GB, free: 44.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005968/0.5166, allocations: 336.4 kB / 0.5066 GB, free: 44.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5168, allocations: 348.9 kB / 0.507 GB, free: 44.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.5185, allocations: 1.113 MB / 0.5081 GB, free: 43.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/0.5206, allocations: 1.274 MB / 0.5093 GB, free: 42.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003569/0.5242, allocations: 2.399 MB / 0.5116 GB, free: 41.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.5242, allocations: 2.062 kB / 0.5116 GB, free: 41.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.007572/0.5318, allocations: 3.725 MB / 0.5153 GB, free: 39.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.5318, allocations: 5.625 kB / 0.5153 GB, free: 39.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.5318, allocations: 3.031 kB / 0.5153 GB, free: 39.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01651/0.5484, allocations: 5.328 MB / 0.5205 GB, free: 39.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.5496, allocations: 249.3 kB / 0.5207 GB, free: 39.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007235/0.5569, allocations: 3.435 MB / 0.5241 GB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.5585, allocations: 187.5 kB / 0.5243 GB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.5587, allocations: 63.2 kB / 0.5243 GB, free: 37.04 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.0006975/0.5594, allocations: 340.6 kB / 0.5247 GB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.5596, allocations: 121.2 kB / 0.5248 GB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005224/0.5649, allocations: 3.356 MB / 0.528 GB, free: 34.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.5649, allocations: 20 kB / 0.5281 GB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.5649, allocations: 0 / 0.5281 GB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.212e-05/0.565, allocations: 9.281 kB / 0.5281 GB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006678/0.5717, allocations: 5.704 MB / 0.5336 GB, free: 29.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.5717, allocations: 0 / 0.5336 GB, free: 29.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.5722, allocations: 155.8 kB / 0.5338 GB, free: 29.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01239/0.5846, allocations: 3.787 MB / 0.5375 GB, free: 25.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003185/0.5849, allocations: 39.98 kB / 0.5375 GB, free: 25.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006734/0.5917, allocations: 3.501 MB / 0.5409 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5917, allocations: 4 kB / 0.541 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004736/0.5964, allocations: 3.229 MB / 0.5441 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/0.5969, allocations: 227 kB / 0.5443 GB, free: 18.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/0.5972, allocations: 36 kB / 0.5444 GB, free: 18.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/0.5988, allocations: 118 kB / 0.5445 GB, free: 18.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/0.5991, allocations: 121.8 kB / 0.5446 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/0.5993, allocations: 59.98 kB / 0.5446 GB, free: 18.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007499/0.6, allocations: 495 kB / 0.5451 GB, free: 17.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6, allocations: 0 / 0.5451 GB, free: 17.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001381/0.6014, allocations: 455.5 kB / 0.5455 GB, free: 17.33 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.0004644/0.6019, allocations: 181 kB / 0.5457 GB, free: 17.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007403/0.6093, allocations: 3.18 MB / 0.5488 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.6093, allocations: 5.688 kB / 0.5488 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005499/0.6149, allocations: 1.859 MB / 0.5506 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.6165, allocations: 170.6 kB / 0.5508 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/0.6214, allocations: 2.6 MB / 0.5533 GB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.6219, allocations: 1.085 MB / 0.5544 GB, free: 8.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006642/0.6226, allocations: 157 kB / 0.5546 GB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.6229, allocations: 95.95 kB / 0.5546 GB, free: 8 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6229, allocations: 0 / 0.5546 GB, free: 8 MB / 382.1 MB Notification: Performance of Templates: time 0.04844/0.6713, allocations: 30.99 MB / 0.5849 GB, free: 9.168 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)