Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 106.5 kB / 16.45 MB, free: 6.441 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.001934/0.001934, allocations: 186.4 kB / 17.38 MB, free: 5.656 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04789/0.04789, allocations: 8.092 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 63.91 kB / 414.5 MB, free: 21.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08509/0.08622, allocations: 51.52 MB / 466 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002575/0.08884, allocations: 1.769 MB / 467.8 MB, free: 260 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.09079, allocations: 1.582 MB / 469.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.086e-05/0.0909, allocations: 4 kB / 469.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.09125, allocations: 135.3 kB / 469.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.09162, allocations: 147.1 kB / 469.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.0934, allocations: 1.058 MB / 470.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000359/0.09377, allocations: 290.5 kB / 471 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.09394, allocations: 84.69 kB / 471 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.09406, allocations: 111.6 kB / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.09422, allocations: 143.3 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.09426, allocations: 20 kB / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.0947, allocations: 251.7 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.09477, allocations: 51.83 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.0949, allocations: 139.3 kB / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005148/0.09542, allocations: 458.4 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.09543, allocations: 0 / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09544, allocations: 0 / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.09545, allocations: 0 / 472.2 MB, free: 11.79 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.003902/0.09936, allocations: 1.115 MB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.09941, allocations: 8.031 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.09951, allocations: 32.75 kB / 473.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.09984, allocations: 275.7 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.09987, allocations: 16.75 kB / 473.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.09993, allocations: 24.31 kB / 473.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.1005, allocations: 351.7 kB / 474 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1005, allocations: 4.188 kB / 474 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.1006, allocations: 11.94 kB / 474 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1006, allocations: 7.984 kB / 474 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004469/0.101, allocations: 295.3 kB / 474.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.1031, allocations: 1.35 MB / 475.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008227/0.1039, allocations: 381.4 kB / 476 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.1042, allocations: 177.3 kB / 476.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007976/0.105, allocations: 0.6972 MB / 476.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.105, allocations: 30.8 kB / 476.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.1051, allocations: 0 / 476.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.003634/0.1087, allocations: 1.14 MB / 478.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.1088, allocations: 106.8 kB / 478.2 MB, free: 5.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.109, allocations: 228.9 kB / 478.4 MB, free: 5.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.109, allocations: 33.7 kB / 478.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.327e-05/0.1091, allocations: 152.8 kB / 478.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.315e-05/0.1092, allocations: 103.1 kB / 478.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.1093, allocations: 90.11 kB / 478.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1095, allocations: 330.8 kB / 479.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.1098, allocations: 192.8 kB / 479.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.1102, allocations: 271.1 kB / 479.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006901/0.1109, allocations: 469 kB / 480 MB, free: 3.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.111, allocations: 7.938 kB / 480 MB, free: 3.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002032/0.113, allocations: 0.8145 MB / 480.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.113, allocations: 11.94 kB / 480.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.113, allocations: 0 / 480.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/0.115, allocations: 421.2 kB / 481.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.1153, allocations: 67.91 kB / 481.3 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005282/0.1205, allocations: 4.027 MB / 485.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.1209, allocations: 47.7 kB / 485.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.1209, allocations: 19.98 kB / 485.4 MB, free: 13.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.1211, allocations: 149.7 kB / 485.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.1212, allocations: 23.92 kB / 485.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.1232, allocations: 0.7408 MB / 486.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1233, allocations: 4 kB / 486.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1233, allocations: 0 / 486.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1233, allocations: 4 kB / 486.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.1237, allocations: 413.2 kB / 486.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1237, allocations: 3.938 kB / 486.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.1239, allocations: 43.92 kB / 486.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001868/0.1258, allocations: 413.2 kB / 487.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.1258, allocations: 8 kB / 487.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004903/0.1307, allocations: 4.008 MB / 491.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1307, allocations: 0 / 491.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.1326, allocations: 0.7745 MB / 492 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.1327, allocations: 104.8 kB / 492.1 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.1327, allocations: 8 kB / 492.1 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.133, allocations: 23.92 kB / 492.1 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.1331, allocations: 27.97 kB / 492.1 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.1331, allocations: 8 kB / 492.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001843/0.1333, allocations: 164.5 kB / 492.3 MB, free: 6.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1333, allocations: 0 / 492.3 MB, free: 6.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004854/0.1338, allocations: 120 kB / 492.4 MB, free: 6.387 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000202/0.134, allocations: 111.3 kB / 492.5 MB, free: 6.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.1356, allocations: 0.7667 MB / 493.3 MB, free: 5.477 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1356, allocations: 0 / 493.3 MB, free: 5.477 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.1368, allocations: 0.5174 MB / 493.8 MB, free: 4.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.1371, allocations: 24.44 kB / 493.8 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009329/0.138, allocations: 0.5624 MB / 494.4 MB, free: 4.324 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1384, allocations: 0.7532 MB / 495.2 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.1385, allocations: 38.25 kB / 495.2 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.1386, allocations: 31.38 kB / 495.2 MB, free: 3.477 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1386, allocations: 0 / 495.2 MB, free: 3.477 MB / 366.1 MB Notification: Performance of Templates: time 0.01016/0.1487, allocations: 6.437 MB / 0.4899 GB, free: 13.06 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)