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.00112/0.00112, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 177.1 kB / 16.63 MB, free: 6.887 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.566/1.566, allocations: 223.3 MB / 240.7 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2311/0.2311, allocations: 8.084 MB / 299.9 MB, free: 2.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003344, allocations: 8 kB / 362.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1131, allocations: 52.52 MB / 415.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.006023/0.1192, allocations: 5.672 MB / 421.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004312/0.1236, allocations: 2.404 MB / 423.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.1247, allocations: 20 kB / 423.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008811/0.1256, allocations: 206.7 kB / 423.7 MB, free: 396 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2695/0.3951, allocations: 0.6238 MB / 424.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.3981, allocations: 1.257 MB / 425.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002672/0.4008, allocations: 1.492 MB / 427.1 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007497/0.4016, allocations: 440.2 kB / 427.5 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.4026, allocations: 0.5413 MB / 428 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008539/0.4035, allocations: 0.6976 MB / 428.7 MB, free: 34.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.4036, allocations: 73.81 kB / 428.8 MB, free: 34.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009842/0.4046, allocations: 323 kB / 429.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.4049, allocations: 263.3 kB / 429.4 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.4052, allocations: 280.4 kB / 429.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.4071, allocations: 1.565 MB / 431.2 MB, free: 34.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4071, allocations: 0 / 431.2 MB, free: 34.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.4071, allocations: 3.156 kB / 431.2 MB, free: 34.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.4071, allocations: 4 kB / 431.2 MB, free: 34.34 MB / 350.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.02096/0.4281, allocations: 3.48 MB / 434.7 MB, free: 33.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.4282, allocations: 9.781 kB / 434.7 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.4294, allocations: 163.2 kB / 434.9 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.4315, allocations: 0.8165 MB / 435.7 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.4318, allocations: 314.7 kB / 436 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/0.4321, allocations: 115.2 kB / 436.1 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004434/0.4365, allocations: 1.811 MB / 437.9 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.4366, allocations: 0 / 437.9 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.4368, allocations: 54.88 kB / 438 MB, free: 32.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.4369, allocations: 29.61 kB / 438 MB, free: 32.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004035/0.4409, allocations: 1.721 MB / 439.7 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.4549, allocations: 7.062 MB / 446.8 MB, free: 28.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004716/0.4597, allocations: 3.862 MB / 450.6 MB, free: 25.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002377/0.4621, allocations: 1.182 MB / 451.8 MB, free: 24.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/0.4624, allocations: 36.91 kB / 451.9 MB, free: 24.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003083/0.4655, allocations: 1.307 MB / 453.2 MB, free: 24.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=167): time 5.731e-06/0.4655, allocations: 0 / 453.2 MB, free: 24.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=167): time 0.03866/0.5042, allocations: 8.841 MB / 462 MB, free: 21.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.5044, allocations: 126.1 kB / 462.1 MB, free: 21.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.5064, allocations: 0.7384 MB / 462.9 MB, free: 21.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005637/0.5069, allocations: 72.2 kB / 462.9 MB, free: 21.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004271/0.5074, allocations: 428.7 kB / 463.4 MB, free: 21.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006386/0.508, allocations: 0.5294 MB / 463.9 MB, free: 20.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.5082, allocations: 40.5 kB / 463.9 MB, free: 20.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.5084, allocations: 419.6 kB / 464.3 MB, free: 20.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/0.5104, allocations: 1.117 MB / 465.4 MB, free: 19.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.5124, allocations: 1.275 MB / 466.7 MB, free: 19.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.5144, allocations: 1.193 MB / 467.9 MB, free: 18.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.5144, allocations: 0 / 467.9 MB, free: 18.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.008098/0.5225, allocations: 3.782 MB / 471.7 MB, free: 16.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.5226, allocations: 14.83 kB / 471.7 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.5227, allocations: 2.594 kB / 471.7 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01579/0.5384, allocations: 5.149 MB / 476.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.5399, allocations: 256.9 kB / 477.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007322/0.5472, allocations: 3.404 MB / 480.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.5493, allocations: 202.6 kB / 480.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.5495, allocations: 72.38 kB / 480.8 MB, free: 13.85 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 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.feeder2.load1.degradedMode,feeder2.load1.degradedMode,$PRE.feeder2.load2.degradedMode,feeder2.load2.degradedMode,$PRE.feeder2.load3.degradedMode,feeder2.load3.degradedMode,$PRE.feeder2.load4.degradedMode,feeder2.load4.degradedMode,$PRE.feeder1.load1.degradedMode,feeder1.load1.degradedMode,$PRE.feeder1.load2.degradedMode,feeder1.load2.degradedMode,$PRE.feeder1.load3.degradedMode,feeder1.load3.degradedMode,$PRE.feeder1.load4.degradedMode,feeder1.load4.degradedMode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {40 44} Notification: Performance of prepare postOptimizeDAE: time 0.0007982/0.5503, allocations: 350.1 kB / 481.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.5506, allocations: 127.4 kB / 481.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005694/0.5563, allocations: 3.349 MB / 484.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.518e-05/0.5563, allocations: 19.33 kB / 484.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.5563, allocations: 0 / 484.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.491e-05/0.5564, allocations: 9.766 kB / 484.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007653/0.564, allocations: 5.724 MB / 490.4 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.5641, allocations: 0 / 490.4 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/0.5645, allocations: 152.6 kB / 490.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01128/0.5758, allocations: 3.836 MB / 494.3 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004051/0.5763, allocations: 43.98 kB / 494.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005936/0.5822, allocations: 3.456 MB / 497.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5822, allocations: 0 / 497.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005722/0.588, allocations: 3.222 MB / 0.4893 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.5885, allocations: 231.1 kB / 0.4895 GB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.5887, allocations: 36.88 kB / 0.4896 GB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.59, allocations: 143.1 kB / 0.4897 GB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/0.5903, allocations: 121.8 kB / 0.4898 GB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.5904, allocations: 71.98 kB / 0.4899 GB, free: 11.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008226/0.5913, allocations: 495 kB / 0.4904 GB, free: 11.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5913, allocations: 6.297 kB / 0.4904 GB, free: 11.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001405/0.5927, allocations: 447.6 kB / 0.4908 GB, free: 10.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {40 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004037/0.5931, allocations: 187 kB / 0.491 GB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007307/0.6004, allocations: 3.136 MB / 0.494 GB, free: 7.633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.6005, allocations: 5.938 kB / 0.494 GB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004776/0.6052, allocations: 1.786 MB / 0.4958 GB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.6066, allocations: 164.7 kB / 0.4959 GB, free: 5.688 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/0.612, allocations: 2.996 MB / 0.4989 GB, free: 2.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007431/0.6128, allocations: 1.085 MB / 0.4999 GB, free: 1.559 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008018/0.6136, allocations: 165 kB / 0.5001 GB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.6139, allocations: 95.41 kB / 0.5002 GB, free: 1.301 MB / 366.1 MB Notification: Performance of SimCode: time 2.154e-06/0.6139, allocations: 4 kB / 0.5002 GB, free: 1.297 MB / 366.1 MB Notification: Performance of Templates: time 0.04448/0.6584, allocations: 27.42 MB / 0.527 GB, free: 5.988 MB / 398.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: