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.001396/0.001396, allocations: 108.4 kB / 16.69 MB, free: 6.273 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.001396/0.001396, allocations: 192.2 kB / 17.61 MB, free: 5.734 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.333/1.333, allocations: 222.9 MB / 241.3 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04801/0.04801, allocations: 8.101 MB / 299.5 MB, free: 6.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.91 kB / 361.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2192, allocations: 51.51 MB / 413.4 MB, free: 25.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.005302/0.2245, allocations: 6.592 MB / 420 MB, free: 19.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003775/0.2284, allocations: 2.509 MB / 422.5 MB, free: 16.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008385/0.2292, allocations: 20 kB / 422.5 MB, free: 16.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008363/0.2301, allocations: 286.6 kB / 422.8 MB, free: 16.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.232, allocations: 0.6879 MB / 423.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.2345, allocations: 1.477 MB / 425 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001763/0.2362, allocations: 1.689 MB / 426.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006571/0.2369, allocations: 0.5735 MB / 427.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006455/0.2376, allocations: 0.6814 MB / 427.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007469/0.2383, allocations: 0.8327 MB / 428.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.2385, allocations: 180 kB / 428.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000723/0.2393, allocations: 447.7 kB / 429.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.2395, allocations: 370.8 kB / 429.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000527/0.24, allocations: 0.7894 MB / 430.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.2413, allocations: 1.637 MB / 432.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.2413, allocations: 4 kB / 432.1 MB, free: 6.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2413, allocations: 0 / 432.1 MB, free: 6.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.2414, allocations: 0 / 432.1 MB, free: 6.98 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.01405/0.2554, allocations: 3.689 MB / 435.8 MB, free: 3.223 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.2555, allocations: 11.89 kB / 435.8 MB, free: 3.211 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003408/0.2558, allocations: 155.3 kB / 436 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.2569, allocations: 0.8355 MB / 436.8 MB, free: 2.184 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.257, allocations: 320.6 kB / 437.1 MB, free: 1.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.2572, allocations: 112.4 kB / 437.3 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.2597, allocations: 1.816 MB / 439.1 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.2598, allocations: 3.938 kB / 439.1 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/0.2599, allocations: 48 kB / 439.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.2599, allocations: 24 kB / 439.1 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002681/0.2626, allocations: 1.707 MB / 440.9 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009898/0.2725, allocations: 6.969 MB / 447.8 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003576/0.2762, allocations: 3.867 MB / 451.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.2778, allocations: 1.18 MB / 452.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.278, allocations: 41.19 kB / 452.9 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002161/0.2802, allocations: 1.322 MB / 454.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=167): time 3.747e-06/0.2802, allocations: 4 kB / 454.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=167): time 0.0335/0.3137, allocations: 8.965 MB / 463.2 MB, free: 6.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.3138, allocations: 120.8 kB / 463.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.3149, allocations: 0.723 MB / 464 MB, free: 5.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002944/0.3152, allocations: 69.7 kB / 464.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.3156, allocations: 429.5 kB / 464.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005715/0.3162, allocations: 0.543 MB / 465.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006786/0.3168, allocations: 335.5 kB / 465.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.317, allocations: 345.9 kB / 465.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.3187, allocations: 1.117 MB / 466.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/0.3206, allocations: 1.269 MB / 468.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003653/0.3243, allocations: 2.408 MB / 470.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.3243, allocations: 0 / 470.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006901/0.3312, allocations: 3.717 MB / 474.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.3313, allocations: 14.17 kB / 474.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.3313, allocations: 4 kB / 474.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01421/0.3455, allocations: 5.337 MB / 479.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.3466, allocations: 251.6 kB / 479.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006836/0.3535, allocations: 3.436 MB / 483.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.355, allocations: 186.1 kB / 483.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.3552, allocations: 63.98 kB / 483.5 MB, free: 2.332 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.0006802/0.3559, allocations: 348.2 kB / 483.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/0.3562, allocations: 122.5 kB / 484 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005331/0.3615, allocations: 3.357 MB / 487.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.3616, allocations: 20 kB / 487.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.3616, allocations: 0 / 487.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/0.3616, allocations: 11.97 kB / 487.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008488/0.3701, allocations: 5.711 MB / 493.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.3702, allocations: 0 / 493.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005271/0.3707, allocations: 151.8 kB / 493.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01387/0.3846, allocations: 3.807 MB / 497 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003982/0.385, allocations: 47.98 kB / 497.1 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007419/0.3925, allocations: 3.505 MB / 0.4889 GB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3925, allocations: 0 / 0.4889 GB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005433/0.3979, allocations: 3.238 MB / 0.492 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.3984, allocations: 215.2 kB / 0.4922 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003134/0.3987, allocations: 36 kB / 0.4923 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.4002, allocations: 122.2 kB / 0.4924 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003319/0.4005, allocations: 117.8 kB / 0.4925 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.4007, allocations: 67.98 kB / 0.4926 GB, free: 13.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007319/0.4014, allocations: 487 kB / 0.493 GB, free: 12.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4014, allocations: 0 / 0.493 GB, free: 12.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00124/0.4027, allocations: 455.5 kB / 0.4935 GB, free: 12.41 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.0004513/0.4032, allocations: 188.6 kB / 0.4936 GB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009131/0.4123, allocations: 3.227 MB / 0.4968 GB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.4123, allocations: 5.688 kB / 0.4968 GB, free: 8.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005687/0.418, allocations: 1.862 MB / 0.4986 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.4194, allocations: 174.2 kB / 0.4988 GB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/0.4245, allocations: 3.139 MB / 0.5018 GB, free: 3.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.4251, allocations: 1.089 MB / 0.5029 GB, free: 2.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/0.4255, allocations: 103.4 kB / 0.503 GB, free: 2.574 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4255, allocations: 0 / 0.503 GB, free: 2.574 MB / 382.1 MB Notification: Performance of Templates: time 0.1992/0.6247, allocations: 24.49 MB / 0.5269 GB, free: 80.88 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)