Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 104.4 kB / 16.56 MB, free: 6.723 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.001547/0.001547, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.2 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04925/0.04925, allocations: 8.09 MB / 299.4 MB, free: 6.746 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.91 kB / 361.7 MB, free: 8.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2245, allocations: 51.51 MB / 413.2 MB, free: 25.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002335/0.2268, allocations: 1.725 MB / 414.9 MB, free: 24.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.2284, allocations: 1.559 MB / 416.5 MB, free: 22.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.562e-05/0.2285, allocations: 4 kB / 416.5 MB, free: 22.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.2289, allocations: 111.6 kB / 416.6 MB, free: 22.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.2292, allocations: 119.3 kB / 416.7 MB, free: 22.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.2305, allocations: 0.8874 MB / 417.6 MB, free: 21.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.2308, allocations: 250.8 kB / 417.8 MB, free: 21.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.231, allocations: 72.56 kB / 417.9 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.924e-05/0.2311, allocations: 115.5 kB / 418 MB, free: 20.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.2313, allocations: 131.4 kB / 418.2 MB, free: 20.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.2313, allocations: 16 kB / 418.2 MB, free: 20.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.2317, allocations: 195.8 kB / 418.4 MB, free: 20.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.2317, allocations: 55.7 kB / 418.4 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.2318, allocations: 123.3 kB / 418.5 MB, free: 20.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.2322, allocations: 305.3 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2322, allocations: 0 / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2322, allocations: 0 / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.2322, allocations: 0 / 418.8 MB, free: 20.15 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002484/0.2347, allocations: 0.8501 MB / 419.7 MB, free: 19.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.2347, allocations: 15.97 kB / 419.7 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.194e-05/0.2348, allocations: 24.66 kB / 419.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.2351, allocations: 260.7 kB / 420 MB, free: 18.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.2351, allocations: 16.81 kB / 420 MB, free: 18.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.2352, allocations: 20.38 kB / 420 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.2356, allocations: 291.8 kB / 420.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2357, allocations: 192 / 420.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.2357, allocations: 11.94 kB / 420.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.2357, allocations: 8 kB / 420.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.2361, allocations: 281.6 kB / 420.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.2374, allocations: 1.035 MB / 421.6 MB, free: 17.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008694/0.2383, allocations: 466.5 kB / 422.1 MB, free: 16.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.2385, allocations: 176.8 kB / 422.3 MB, free: 16.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.331e-05/0.2386, allocations: 11.98 kB / 422.3 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2386, allocations: 38.5 kB / 422.3 MB, free: 16.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.2386, allocations: 0 / 422.3 MB, free: 16.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002769/0.2414, allocations: 0.9526 MB / 423.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.2414, allocations: 55.41 kB / 423.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.2416, allocations: 215.8 kB / 423.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.2417, allocations: 33.7 kB / 423.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.2417, allocations: 144.5 kB / 423.7 MB, free: 15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.2418, allocations: 94.64 kB / 423.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.2419, allocations: 77.58 kB / 423.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.381e-05/0.242, allocations: 334.8 kB / 424.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.2422, allocations: 168 kB / 424.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.2424, allocations: 183.9 kB / 424.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.2429, allocations: 389.4 kB / 424.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2429, allocations: 4 kB / 424.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001225/0.2441, allocations: 0.6539 MB / 425.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.2441, allocations: 11.94 kB / 425.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2442, allocations: 0 / 425.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.2452, allocations: 248.6 kB / 425.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.2454, allocations: 51.92 kB / 425.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/0.2483, allocations: 2.519 MB / 428.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.2485, allocations: 27.67 kB / 428.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.2486, allocations: 12 kB / 428.4 MB, free: 10.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.2487, allocations: 151 kB / 428.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.2488, allocations: 23.72 kB / 428.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.25, allocations: 0.603 MB / 429.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.25, allocations: 7.938 kB / 429.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.25, allocations: 0 / 429.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.25, allocations: 7.984 kB / 429.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.2515, allocations: 1.057 MB / 430.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2515, allocations: 4 kB / 430.3 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.861e-05/0.2516, allocations: 27.98 kB / 430.3 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009199/0.2526, allocations: 240.6 kB / 430.6 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.2526, allocations: 8 kB / 430.6 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/0.2551, allocations: 2.472 MB / 433 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2552, allocations: 0 / 433 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.2563, allocations: 0.6448 MB / 433.7 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.2564, allocations: 104.7 kB / 433.8 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.2564, allocations: 11.94 kB / 433.8 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.2566, allocations: 12.05 kB / 433.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.2567, allocations: 31.95 kB / 433.8 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.2568, allocations: 15.94 kB / 433.8 MB, free: 4.441 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.2569, allocations: 163 kB / 434 MB, free: 4.281 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2569, allocations: 0 / 434 MB, free: 4.281 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004604/0.2574, allocations: 111.9 kB / 434.1 MB, free: 4.172 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001912/0.2576, allocations: 123.2 kB / 434.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.2587, allocations: 0.6119 MB / 434.9 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2587, allocations: 0 / 434.9 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006719/0.2594, allocations: 390.4 kB / 435.2 MB, free: 3.023 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.2597, allocations: 23.98 kB / 435.3 MB, free: 3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/0.2606, allocations: 0.6354 MB / 435.9 MB, free: 2.336 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.2607, allocations: 0.7488 MB / 436.6 MB, free: 1.559 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.2608, allocations: 31.42 kB / 436.7 MB, free: 1.527 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2608, allocations: 0 / 436.7 MB, free: 1.527 MB / 302.1 MB Notification: Performance of Templates: time 0.006702/0.2675, allocations: 4.686 MB / 441.4 MB, free: 12.84 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)