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.003591/0.003591, allocations: 88.92 kB / 15.91 MB, free: 6.301 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.0009163/0.0009162, allocations: 199 kB / 16.83 MB, free: 6.234 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.194/1.194, allocations: 222.9 MB / 240.5 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1455/0.1455, allocations: 8.097 MB / 298.7 MB, free: 2.117 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 67.89 kB / 361 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08225/0.08327, allocations: 51.52 MB / 412.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.005848/0.08916, allocations: 6.592 MB / 419.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.09182, allocations: 2.517 MB / 421.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002427/0.09207, allocations: 20 kB / 421.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005009/0.09258, allocations: 286.6 kB / 422 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.09372, allocations: 0.6997 MB / 422.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.09602, allocations: 1.512 MB / 424.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.09719, allocations: 1.588 MB / 425.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005437/0.09774, allocations: 0.5003 MB / 426.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.09817, allocations: 0.6032 MB / 426.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006496/0.09883, allocations: 0.7702 MB / 427.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.09899, allocations: 104 kB / 427.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005163/0.09952, allocations: 363.7 kB / 428.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.09973, allocations: 294.8 kB / 428.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005279/0.1003, allocations: 0.7191 MB / 429.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.1017, allocations: 2.006 MB / 431.1 MB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1017, allocations: 3.938 kB / 431.1 MB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1017, allocations: 4 kB / 431.1 MB, free: 7.492 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.1017, allocations: 0 / 431.1 MB, free: 7.492 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.01308/0.1148, allocations: 3.676 MB / 434.8 MB, free: 3.758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.1148, allocations: 16.03 kB / 434.8 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.1151, allocations: 159.2 kB / 435 MB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000984/0.1161, allocations: 0.8354 MB / 435.8 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.1163, allocations: 316.7 kB / 436.1 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.1165, allocations: 116.4 kB / 436.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.119, allocations: 1.808 MB / 438 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.119, allocations: 3.938 kB / 438 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.1192, allocations: 52 kB / 438.1 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.1192, allocations: 28 kB / 438.1 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1456/0.2648, allocations: 1.7 MB / 439.8 MB, free: 55.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006917/0.2717, allocations: 6.959 MB / 446.8 MB, free: 51.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.2742, allocations: 3.87 MB / 450.6 MB, free: 48.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.2754, allocations: 1.179 MB / 451.8 MB, free: 48.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.2756, allocations: 37.56 kB / 451.8 MB, free: 48.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/0.2772, allocations: 1.322 MB / 453.2 MB, free: 47.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=167): time 3.036e-06/0.2773, allocations: 3.906 kB / 453.2 MB, free: 47.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=167): time 0.02849/0.3057, allocations: 8.974 MB / 462.1 MB, free: 45.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.3058, allocations: 127 kB / 462.3 MB, free: 45.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007191/0.3065, allocations: 0.7227 MB / 463 MB, free: 44.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.3067, allocations: 70.39 kB / 463.1 MB, free: 44.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.3069, allocations: 422.7 kB / 463.5 MB, free: 44.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/0.3071, allocations: 0.5424 MB / 464 MB, free: 44.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004984/0.3076, allocations: 331.6 kB / 464.3 MB, free: 43.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.28e-05/0.3077, allocations: 346.4 kB / 464.7 MB, free: 43.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.3091, allocations: 1.109 MB / 465.8 MB, free: 43.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.3105, allocations: 1.279 MB / 467.1 MB, free: 42.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002857/0.3134, allocations: 2.399 MB / 469.5 MB, free: 41.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3134, allocations: 0 / 469.5 MB, free: 41.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005727/0.3191, allocations: 3.727 MB / 473.2 MB, free: 39.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3192, allocations: 5.969 kB / 473.2 MB, free: 39.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3192, allocations: 4 kB / 473.2 MB, free: 39.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01364/0.3328, allocations: 5.323 MB / 478.5 MB, free: 38.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/0.3338, allocations: 251.8 kB / 478.8 MB, free: 38.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005867/0.3396, allocations: 3.427 MB / 482.2 MB, free: 36.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.3408, allocations: 186.4 kB / 482.4 MB, free: 36.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.341, allocations: 65.61 kB / 482.4 MB, free: 36.5 MB / 366.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.0005315/0.3415, allocations: 346.3 kB / 482.8 MB, free: 36.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.3417, allocations: 124.4 kB / 482.9 MB, free: 36.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004731/0.3465, allocations: 3.36 MB / 486.3 MB, free: 34.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.3465, allocations: 18.03 kB / 486.3 MB, free: 34.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3465, allocations: 0 / 486.3 MB, free: 34.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.3465, allocations: 11.42 kB / 486.3 MB, free: 34.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006637/0.3532, allocations: 5.722 MB / 492 MB, free: 31.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3532, allocations: 0 / 492 MB, free: 31.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000473/0.3537, allocations: 150.2 kB / 492.2 MB, free: 31.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01234/0.366, allocations: 3.848 MB / 496 MB, free: 30.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.3661, allocations: 41.22 kB / 496.1 MB, free: 30.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006152/0.3723, allocations: 3.487 MB / 499.5 MB, free: 28.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3723, allocations: 0.7969 kB / 499.5 MB, free: 28.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00419/0.3765, allocations: 3.226 MB / 0.491 GB, free: 25.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.3767, allocations: 220.1 kB / 0.4912 GB, free: 25.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.3769, allocations: 32.66 kB / 0.4912 GB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.378, allocations: 128.1 kB / 0.4913 GB, free: 25.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/0.3783, allocations: 115.9 kB / 0.4915 GB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.3785, allocations: 60.39 kB / 0.4915 GB, free: 25.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005689/0.379, allocations: 492 kB / 0.492 GB, free: 24.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.379, allocations: 0 / 0.492 GB, free: 24.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000936/0.38, allocations: 456.9 kB / 0.4924 GB, free: 24.41 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.0002928/0.3803, allocations: 181.6 kB / 0.4926 GB, free: 24.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006142/0.3864, allocations: 3.152 MB / 0.4957 GB, free: 21.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3864, allocations: 1.688 kB / 0.4957 GB, free: 21.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004443/0.3909, allocations: 1.804 MB / 0.4974 GB, free: 19.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008017/0.3917, allocations: 167.6 kB / 0.4976 GB, free: 19.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.3952, allocations: 3.101 MB / 0.5006 GB, free: 16.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.3956, allocations: 1.08 MB / 0.5017 GB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000505/0.3961, allocations: 159.9 kB / 0.5018 GB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.3963, allocations: 93.81 kB / 0.5019 GB, free: 15.55 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3963, allocations: 0 / 0.5019 GB, free: 15.55 MB / 366.1 MB Notification: Performance of Templates: time 0.03199/0.4283, allocations: 28.67 MB / 0.5299 GB, free: 3.469 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)