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.001082/0.001082, allocations: 103.3 kB / 16.31 MB, free: 6.391 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.001038/0.001038, allocations: 190.5 kB / 17.24 MB, free: 5.922 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05716/0.05716, allocations: 8.101 MB / 299.2 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 59.91 kB / 361.7 MB, free: 8.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2806, allocations: 51.51 MB / 413.2 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.005266/0.2859, allocations: 6.655 MB / 419.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003414/0.2893, allocations: 2.54 MB / 422.4 MB, free: 16.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004505/0.2898, allocations: 20 kB / 422.5 MB, free: 16.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006709/0.2905, allocations: 349.6 kB / 422.8 MB, free: 16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.292, allocations: 0.7689 MB / 423.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.2943, allocations: 1.563 MB / 425.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.2957, allocations: 1.682 MB / 426.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005836/0.2963, allocations: 0.5774 MB / 427.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000544/0.2968, allocations: 0.6775 MB / 428.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006402/0.2975, allocations: 0.8366 MB / 428.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.2977, allocations: 180 kB / 429.1 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006605/0.2983, allocations: 439.7 kB / 429.5 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.2985, allocations: 374.8 kB / 429.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004906/0.299, allocations: 0.7894 MB / 430.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.3004, allocations: 2.072 MB / 432.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3005, allocations: 0 / 432.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3005, allocations: 0 / 432.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.3005, allocations: 0 / 432.7 MB, free: 6.027 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.01401/0.3145, allocations: 3.681 MB / 436.4 MB, free: 2.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3146, allocations: 12.02 kB / 436.4 MB, free: 2.266 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/0.3149, allocations: 159.3 kB / 436.6 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.316, allocations: 0.8316 MB / 437.4 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.3161, allocations: 316.7 kB / 437.7 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.3163, allocations: 124.4 kB / 437.8 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002818/0.3191, allocations: 1.8 MB / 439.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.3192, allocations: 7.922 kB / 439.7 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.3193, allocations: 56 kB / 439.7 MB, free: 14.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.3194, allocations: 24 kB / 439.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.322, allocations: 1.707 MB / 441.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009359/0.3314, allocations: 6.965 MB / 448.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003626/0.3351, allocations: 3.871 MB / 452.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.3367, allocations: 1.184 MB / 453.5 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.3368, allocations: 37.2 kB / 453.5 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002115/0.339, allocations: 1.326 MB / 454.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=167): time 3.236e-06/0.339, allocations: 0 / 454.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=167): time 0.03347/0.3724, allocations: 8.973 MB / 463.8 MB, free: 5.852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.3725, allocations: 120.8 kB / 463.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.3737, allocations: 0.7269 MB / 464.6 MB, free: 4.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002259/0.3739, allocations: 77.7 kB / 464.7 MB, free: 4.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.3742, allocations: 421.5 kB / 465.1 MB, free: 4.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004816/0.3747, allocations: 0.5391 MB / 465.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006249/0.3754, allocations: 339.5 kB / 466 MB, free: 3.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3755, allocations: 345.9 kB / 466.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.3772, allocations: 1.109 MB / 467.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.3791, allocations: 1.277 MB / 468.7 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003514/0.3826, allocations: 2.4 MB / 471.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3826, allocations: 0 / 471.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006978/0.3896, allocations: 3.729 MB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3897, allocations: 6.188 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3897, allocations: 0 / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01423/0.4039, allocations: 5.344 MB / 480.2 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.4051, allocations: 247.6 kB / 480.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006661/0.4117, allocations: 3.436 MB / 483.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/0.4136, allocations: 182.1 kB / 484.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.4138, allocations: 67.98 kB / 484.1 MB, free: 1.379 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.0007887/0.4146, allocations: 341 kB / 484.5 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.4149, allocations: 130.5 kB / 484.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005238/0.4201, allocations: 3.35 MB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.4202, allocations: 20 kB / 488 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4202, allocations: 3.938 kB / 488 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.4202, allocations: 11.95 kB / 488 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008213/0.4284, allocations: 5.722 MB / 493.7 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.4285, allocations: 4 kB / 493.7 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000526/0.429, allocations: 143.8 kB / 493.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01298/0.442, allocations: 3.807 MB / 497.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003011/0.4423, allocations: 36 kB / 497.7 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006835/0.4492, allocations: 3.509 MB / 0.4894 GB, free: 204 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4492, allocations: 4 kB / 0.4894 GB, free: 200 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005083/0.4543, allocations: 3.226 MB / 0.4926 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/0.4547, allocations: 219.2 kB / 0.4928 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.4549, allocations: 36 kB / 0.4928 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.4562, allocations: 111.9 kB / 0.4929 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002912/0.4565, allocations: 121.8 kB / 0.4931 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/0.4566, allocations: 59.98 kB / 0.4931 GB, free: 12.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007011/0.4574, allocations: 491 kB / 0.4936 GB, free: 11.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4574, allocations: 0 / 0.4936 GB, free: 11.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00112/0.4585, allocations: 455.5 kB / 0.494 GB, free: 11.46 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.0003696/0.4589, allocations: 186.3 kB / 0.4942 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008807/0.4677, allocations: 3.233 MB / 0.4974 GB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.4677, allocations: 5.688 kB / 0.4974 GB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005608/0.4733, allocations: 1.862 MB / 0.4992 GB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.4746, allocations: 182 kB / 0.4994 GB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/0.4793, allocations: 2.609 MB / 0.5019 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.48, allocations: 1.089 MB / 0.503 GB, free: 2.258 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007384/0.4807, allocations: 157 kB / 0.5031 GB, free: 2.102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.481, allocations: 87.42 kB / 0.5032 GB, free: 2.016 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.481, allocations: 4 kB / 0.5032 GB, free: 2.012 MB / 382.1 MB Notification: Performance of Templates: time 0.2464/0.7274, allocations: 30.57 MB / 0.5331 GB, free: 75.06 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)