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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.3 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009831/0.0009829, allocations: 116.7 kB / 290.6 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05138/0.05138, allocations: 8.092 MB / 348.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 53.92 kB / 411.1 MB, free: 57.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09653/0.09771, allocations: 51.52 MB / 462.6 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.00589/0.1036, allocations: 6.597 MB / 469.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004612/0.1083, allocations: 2.509 MB / 471.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.1095, allocations: 28 kB / 471.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.1107, allocations: 286.6 kB / 472 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002602/0.1133, allocations: 0.6952 MB / 472.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.1163, allocations: 1.514 MB / 474.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.1184, allocations: 1.607 MB / 475.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007117/0.1192, allocations: 0.4886 MB / 476.3 MB, free: 8.262 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006552/0.1198, allocations: 0.611 MB / 476.9 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008702/0.1207, allocations: 0.7741 MB / 477.7 MB, free: 6.871 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.1209, allocations: 100 kB / 477.8 MB, free: 6.773 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007382/0.1216, allocations: 367.7 kB / 478.2 MB, free: 6.414 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.1219, allocations: 290.8 kB / 478.5 MB, free: 6.129 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006342/0.1225, allocations: 0.7152 MB / 479.2 MB, free: 5.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.1245, allocations: 2.014 MB / 481.2 MB, free: 3.391 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1245, allocations: 0 / 481.2 MB, free: 3.391 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1245, allocations: 0 / 481.2 MB, free: 3.391 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.1245, allocations: 0 / 481.2 MB, free: 3.391 MB / 314.7 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.195/0.3195, allocations: 3.668 MB / 484.9 MB, free: 26.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.3196, allocations: 10.39 kB / 484.9 MB, free: 26.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004815/0.3201, allocations: 162 kB / 485 MB, free: 26.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.3214, allocations: 0.8434 MB / 485.9 MB, free: 25.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.3216, allocations: 312.6 kB / 486.2 MB, free: 25.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.3218, allocations: 119.7 kB / 486.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003106/0.3249, allocations: 1.807 MB / 488.1 MB, free: 24.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.325, allocations: 12.72 kB / 488.1 MB, free: 24.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.3251, allocations: 50.56 kB / 488.2 MB, free: 24.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.3252, allocations: 24 kB / 488.2 MB, free: 24.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/0.328, allocations: 1.704 MB / 489.9 MB, free: 23.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.338, allocations: 6.953 MB / 496.8 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.3416, allocations: 3.872 MB / 0.489 GB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.3433, allocations: 1.179 MB / 0.4901 GB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/0.3436, allocations: 41.22 kB / 0.4902 GB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002408/0.346, allocations: 1.321 MB / 0.4915 GB, free: 14.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=167): time 3.647e-06/0.346, allocations: 0 / 0.4915 GB, free: 14.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=167): time 0.0358/0.3818, allocations: 8.975 MB / 0.5002 GB, free: 10.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.791e-05/0.382, allocations: 120.6 kB / 0.5003 GB, free: 9.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.3833, allocations: 0.7353 MB / 0.5011 GB, free: 9.539 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002793/0.3836, allocations: 74.94 kB / 0.5011 GB, free: 9.473 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.3839, allocations: 417.5 kB / 0.5015 GB, free: 9.105 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000408/0.3843, allocations: 0.5423 MB / 0.5021 GB, free: 8.637 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005783/0.3849, allocations: 337.8 kB / 0.5024 GB, free: 8.438 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.385, allocations: 341.4 kB / 0.5027 GB, free: 8.105 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.3865, allocations: 1.121 MB / 0.5038 GB, free: 7.477 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.388, allocations: 1.274 MB / 0.505 GB, free: 6.562 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.391, allocations: 2.404 MB / 0.5074 GB, free: 4.148 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.391, allocations: 0 / 0.5074 GB, free: 4.148 MB / 314.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006037/0.397, allocations: 3.725 MB / 0.511 GB, free: 420 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.3971, allocations: 4 kB / 0.511 GB, free: 416 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3971, allocations: 4 kB / 0.511 GB, free: 412 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01505/0.4122, allocations: 5.322 MB / 0.5162 GB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.4133, allocations: 255.6 kB / 0.5165 GB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007248/0.4206, allocations: 3.436 MB / 0.5198 GB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.4224, allocations: 175.2 kB / 0.52 GB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002913/0.4227, allocations: 63.98 kB / 0.5201 GB, free: 7.129 MB / 330.7 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.0008039/0.4236, allocations: 344.2 kB / 0.5204 GB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003304/0.4239, allocations: 122.5 kB / 0.5205 GB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005419/0.4293, allocations: 3.363 MB / 0.5238 GB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.4294, allocations: 16 kB / 0.5238 GB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4294, allocations: 0 / 0.5238 GB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.4294, allocations: 7.969 kB / 0.5238 GB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007599/0.437, allocations: 5.727 MB / 0.5294 GB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.437, allocations: 0 / 0.5294 GB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/0.4375, allocations: 151.8 kB / 0.5296 GB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01395/0.4515, allocations: 3.844 MB / 0.5333 GB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004524/0.452, allocations: 35.98 kB / 0.5333 GB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007007/0.459, allocations: 3.487 MB / 0.5367 GB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4591, allocations: 0 / 0.5367 GB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007422/0.4665, allocations: 5.416 MB / 0.542 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.4669, allocations: 215.2 kB / 0.5422 GB, free: 272 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.4671, allocations: 36 kB / 0.5423 GB, free: 236 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.4684, allocations: 116 kB / 0.5424 GB, free: 128 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002985/0.4687, allocations: 125.8 kB / 0.5425 GB, free: 0 / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.4689, allocations: 59.98 kB / 0.5426 GB, free: 15.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006937/0.4696, allocations: 495 kB / 0.543 GB, free: 15.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4696, allocations: 0 / 0.543 GB, free: 15.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001177/0.4708, allocations: 459.5 kB / 0.5435 GB, free: 15.01 MB / 362.7 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.0003742/0.4711, allocations: 193 kB / 0.5437 GB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007738/0.4789, allocations: 3.143 MB / 0.5467 GB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.4789, allocations: 5.688 kB / 0.5467 GB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005579/0.4845, allocations: 1.803 MB / 0.5485 GB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.4857, allocations: 160 kB / 0.5486 GB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005512/0.4912, allocations: 4.003 MB / 0.5526 GB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006897/0.4919, allocations: 1.134 MB / 0.5537 GB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006598/0.4926, allocations: 161 kB / 0.5538 GB, free: 4.379 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.4928, allocations: 91.41 kB / 0.5539 GB, free: 4.289 MB / 362.7 MB Notification: Performance of SimCode: time 2.444e-06/0.4928, allocations: 0 / 0.5539 GB, free: 4.289 MB / 362.7 MB Notification: Performance of Templates: time 0.04667/0.5395, allocations: 30.26 MB / 0.5835 GB, free: 6.172 MB / 394.7 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)