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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 10.99 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.001027/0.001027, allocations: 96.39 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.06051/0.06051, allocations: 8.084 MB / 348.8 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009947/0.0009948, allocations: 58.69 kB / 411.1 MB, free: 57.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09899, allocations: 51.51 MB / 462.6 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002784/0.1018, allocations: 1.817 MB / 464.4 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.1042, allocations: 1.567 MB / 466 MB, free: 2.648 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.1045, allocations: 8 kB / 466 MB, free: 2.641 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005787/0.1051, allocations: 115.6 kB / 466.1 MB, free: 2.527 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006429/0.1058, allocations: 135.3 kB / 466.2 MB, free: 2.395 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.1075, allocations: 1.054 MB / 467.3 MB, free: 1.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005382/0.108, allocations: 262.7 kB / 467.6 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.1082, allocations: 73.42 kB / 467.6 MB, free: 1.008 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.1084, allocations: 111.6 kB / 467.7 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.1086, allocations: 131.4 kB / 467.9 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.1087, allocations: 16 kB / 467.9 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.1092, allocations: 231.8 kB / 468.1 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.1093, allocations: 55.7 kB / 468.2 MB, free: 484 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.1094, allocations: 123.4 kB / 468.3 MB, free: 360 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006354/0.1101, allocations: 458.9 kB / 468.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1101, allocations: 0 / 468.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1101, allocations: 0 / 468.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.1101, allocations: 0 / 468.7 MB, free: 15.9 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.004258/0.1144, allocations: 1.104 MB / 469.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1144, allocations: 12.03 kB / 469.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.1146, allocations: 24.66 kB / 469.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.1149, allocations: 275.8 kB / 470.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.1149, allocations: 20.75 kB / 470.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.115, allocations: 24.38 kB / 470.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/0.1156, allocations: 351.7 kB / 470.5 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1156, allocations: 192 / 470.5 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.1156, allocations: 11.94 kB / 470.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.1157, allocations: 4 kB / 470.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.1161, allocations: 295.3 kB / 470.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.1182, allocations: 1.354 MB / 472.2 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.1192, allocations: 389.7 kB / 472.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.1195, allocations: 172.8 kB / 472.7 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009741/0.1205, allocations: 0.6932 MB / 473.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1205, allocations: 38.8 kB / 473.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/0.1206, allocations: 0 / 473.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.003715/0.1243, allocations: 1.132 MB / 474.6 MB, free: 9.664 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.1244, allocations: 106.8 kB / 474.7 MB, free: 9.535 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.1246, allocations: 224.9 kB / 474.9 MB, free: 9.305 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.1247, allocations: 33.7 kB / 475 MB, free: 9.266 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1248, allocations: 156.5 kB / 475.1 MB, free: 9.109 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.598e-05/0.1249, allocations: 94.59 kB / 475.2 MB, free: 9.016 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.125, allocations: 90.02 kB / 475.3 MB, free: 8.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1252, allocations: 338.8 kB / 475.6 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.1255, allocations: 196.7 kB / 475.8 MB, free: 8.387 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.1259, allocations: 263.2 kB / 476.1 MB, free: 8.105 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007143/0.1266, allocations: 472.7 kB / 476.5 MB, free: 7.625 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.1266, allocations: 3.938 kB / 476.5 MB, free: 7.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002221/0.1289, allocations: 0.8183 MB / 477.3 MB, free: 6.789 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1289, allocations: 4 kB / 477.4 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1289, allocations: 4 kB / 477.4 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002175/0.1311, allocations: 417.2 kB / 477.8 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.1314, allocations: 75.83 kB / 477.8 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004791/0.1362, allocations: 3.71 MB / 481.5 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.1366, allocations: 47.52 kB / 481.6 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.1366, allocations: 16 kB / 481.6 MB, free: 2.25 MB / 314.7 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.0002215/0.1368, allocations: 145.7 kB / 481.8 MB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.1369, allocations: 23.72 kB / 481.8 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/0.139, allocations: 0.7361 MB / 482.5 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.1391, allocations: 4 kB / 482.5 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.1391, allocations: 4 kB / 482.5 MB, free: 1.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1391, allocations: 3.938 kB / 482.5 MB, free: 1.316 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.1395, allocations: 421.2 kB / 482.9 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1396, allocations: 4 kB / 482.9 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.1397, allocations: 43.86 kB / 483 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/0.1417, allocations: 405.5 kB / 483.4 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.1417, allocations: 8 kB / 483.4 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1803/0.3221, allocations: 3.703 MB / 487.1 MB, free: 25.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3221, allocations: 3.75 kB / 487.1 MB, free: 25.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.3245, allocations: 1.563 MB / 488.7 MB, free: 24.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.3246, allocations: 107.7 kB / 488.8 MB, free: 24.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.3247, allocations: 7.078 kB / 488.8 MB, free: 24.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.3249, allocations: 19.64 kB / 488.8 MB, free: 24.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/0.325, allocations: 24.97 kB / 488.8 MB, free: 24.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.3251, allocations: 10.28 kB / 488.8 MB, free: 24.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001401/0.3252, allocations: 160.7 kB / 489 MB, free: 24.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3252, allocations: 0 / 489 MB, free: 24.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006872/0.3259, allocations: 123.7 kB / 489.1 MB, free: 24.59 MB / 314.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: 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.0002812/0.3262, allocations: 129 kB / 489.2 MB, free: 24.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.328, allocations: 0.7604 MB / 490 MB, free: 24.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.328, allocations: 0 / 490 MB, free: 24.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.3292, allocations: 0.5119 MB / 490.5 MB, free: 23.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.3295, allocations: 24 kB / 490.5 MB, free: 23.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.3306, allocations: 0.866 MB / 491.4 MB, free: 23.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.3308, allocations: 0.7675 MB / 492.2 MB, free: 22.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.331, allocations: 35.45 kB / 492.2 MB, free: 22.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.3311, allocations: 26.08 kB / 492.2 MB, free: 22.41 MB / 314.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3311, allocations: 6.5 kB / 492.2 MB, free: 22.4 MB / 314.7 MB Notification: Performance of Templates: time 0.01099/0.3421, allocations: 6.425 MB / 498.6 MB, free: 21.45 MB / 314.7 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)