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.001031/0.001032, allocations: 91.44 kB / 16.71 MB, free: 6.637 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.0009699/0.0009699, allocations: 176.3 kB / 17.62 MB, free: 6.16 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.322/1.322, allocations: 223.3 MB / 241.7 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04013/0.04013, allocations: 8.103 MB / 300.9 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003164, allocations: 8 kB / 364.2 MB, free: 7.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1994, allocations: 52.51 MB / 416.7 MB, free: 24.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.004225/0.2037, allocations: 6.105 MB / 422.8 MB, free: 18.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003502/0.2072, allocations: 2.501 MB / 425.3 MB, free: 16.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005087/0.2077, allocations: 24 kB / 425.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005833/0.2083, allocations: 278.6 kB / 425.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.2097, allocations: 0.7025 MB / 426.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.2119, allocations: 1.488 MB / 427.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.2133, allocations: 1.58 MB / 429.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005463/0.2138, allocations: 0.4886 MB / 429.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004915/0.2143, allocations: 0.5641 MB / 430.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006025/0.215, allocations: 0.7156 MB / 431.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.2151, allocations: 76 kB / 431.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005748/0.2157, allocations: 335.7 kB / 431.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.2158, allocations: 262.8 kB / 431.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004189/0.2163, allocations: 0.7052 MB / 432.5 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.2173, allocations: 1.558 MB / 434 MB, free: 7.371 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2173, allocations: 4 kB / 434 MB, free: 7.367 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2173, allocations: 0 / 434 MB, free: 7.367 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.2173, allocations: 0 / 434 MB, free: 7.367 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.01403/0.2313, allocations: 3.463 MB / 437.5 MB, free: 3.836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.2314, allocations: 12.03 kB / 437.5 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004425/0.2318, allocations: 159.2 kB / 437.7 MB, free: 3.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.2329, allocations: 0.8394 MB / 438.5 MB, free: 2.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.2331, allocations: 316.7 kB / 438.8 MB, free: 2.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.2333, allocations: 116.4 kB / 438.9 MB, free: 2.316 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.2358, allocations: 1.827 MB / 440.8 MB, free: 456 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.2358, allocations: 3.938 kB / 440.8 MB, free: 452 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.236, allocations: 48 kB / 440.8 MB, free: 404 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.236, allocations: 27.94 kB / 440.8 MB, free: 376 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/0.2388, allocations: 1.734 MB / 442.6 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/0.2489, allocations: 7.067 MB / 449.6 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/0.2528, allocations: 3.863 MB / 453.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/0.2544, allocations: 1.18 MB / 454.7 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.2546, allocations: 37.2 kB / 454.7 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0021/0.2567, allocations: 1.33 MB / 456 MB, free: 296 kB / 318.1 MB Notification: Performance of pre-optimization done (n=167): time 5.63e-06/0.2567, allocations: 0 / 456 MB, free: 296 kB / 318.1 MB Notification: Performance of matching and sorting (n=167): time 0.03542/0.2922, allocations: 8.996 MB / 465 MB, free: 7.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/0.2923, allocations: 124.8 kB / 465.2 MB, free: 7.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.2935, allocations: 0.7347 MB / 465.9 MB, free: 6.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002524/0.2937, allocations: 73.69 kB / 466 MB, free: 6.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.2941, allocations: 421.5 kB / 466.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005017/0.2946, allocations: 0.539 MB / 466.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.2948, allocations: 169.6 kB / 467.1 MB, free: 5.145 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.295, allocations: 341.9 kB / 467.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/0.2968, allocations: 1.121 MB / 468.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.2988, allocations: 1.293 MB / 469.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003785/0.3026, allocations: 2.408 MB / 472.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.3026, allocations: 4.031 kB / 472.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.007365/0.31, allocations: 3.756 MB / 476 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.3101, allocations: 4 kB / 476 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3101, allocations: 0 / 476 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01568/0.3258, allocations: 5.383 MB / 481.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.327, allocations: 259.6 kB / 481.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007155/0.3342, allocations: 3.428 MB / 485.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.336, allocations: 194.1 kB / 485.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.3362, allocations: 67.97 kB / 485.3 MB, free: 2.82 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.0007024/0.3369, allocations: 340.2 kB / 485.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.3372, allocations: 126.5 kB / 485.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005559/0.3427, allocations: 3.357 MB / 489.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.3428, allocations: 16 kB / 489.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3428, allocations: 4 kB / 489.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.3428, allocations: 11.95 kB / 489.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007954/0.3508, allocations: 5.742 MB / 494.9 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3508, allocations: 0 / 494.9 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/0.3513, allocations: 143.8 kB / 495 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01482/0.3662, allocations: 3.903 MB / 498.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002745/0.3665, allocations: 32 kB / 499 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007223/0.3737, allocations: 3.486 MB / 0.4907 GB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3737, allocations: 4 kB / 0.4907 GB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005709/0.3794, allocations: 3.222 MB / 0.4938 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.3798, allocations: 227.2 kB / 0.4941 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.3801, allocations: 32 kB / 0.4941 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.3815, allocations: 150.1 kB / 0.4942 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.3819, allocations: 121.8 kB / 0.4943 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/0.382, allocations: 59.98 kB / 0.4944 GB, free: 13.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008042/0.3828, allocations: 0.4951 MB / 0.4949 GB, free: 13.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3829, allocations: 0 / 0.4949 GB, free: 13.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001099/0.384, allocations: 463.4 kB / 0.4953 GB, free: 12.77 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 {(40,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003654/0.3843, allocations: 184.7 kB / 0.4955 GB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007752/0.3921, allocations: 3.154 MB / 0.4986 GB, free: 9.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.3921, allocations: 5.688 kB / 0.4986 GB, free: 9.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005495/0.3976, allocations: 1.778 MB / 0.5003 GB, free: 7.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.3988, allocations: 164.6 kB / 0.5005 GB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/0.4038, allocations: 3.175 MB / 0.5036 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.4044, allocations: 1.081 MB / 0.5046 GB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.4048, allocations: 115.4 kB / 0.5048 GB, free: 3.074 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4048, allocations: 0 / 0.5048 GB, free: 3.074 MB / 382.1 MB Notification: Performance of Templates: time 0.1826/0.5874, allocations: 24.61 MB / 0.5288 GB, free: 80.3 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)