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.0009678/0.0009678, allocations: 97.64 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 181.2 kB / 16.96 MB, free: 6.871 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.502/1.502, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2031/0.2031, allocations: 8.083 MB / 300.2 MB, free: 2.977 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 8 kB / 363.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 52.51 MB / 416 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002182/0.1311, allocations: 1.458 MB / 417.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.1335, allocations: 1.555 MB / 419 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.1337, allocations: 4 kB / 419 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000439/0.1342, allocations: 123.5 kB / 419.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005032/0.1347, allocations: 127.3 kB / 419.3 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.1366, allocations: 1.02 MB / 420.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004508/0.1371, allocations: 266.6 kB / 420.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.1373, allocations: 68.48 kB / 420.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.1374, allocations: 107.6 kB / 420.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.1376, allocations: 131.4 kB / 420.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.1377, allocations: 12 kB / 420.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.1382, allocations: 235.7 kB / 421.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.1382, allocations: 39.84 kB / 421.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.1384, allocations: 153 kB / 421.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006411/0.139, allocations: 438.9 kB / 421.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1391, allocations: 0 / 421.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1391, allocations: 0 / 421.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.1391, allocations: 0 / 421.7 MB, free: 2.699 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.004026/0.1431, allocations: 1.069 MB / 422.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.1432, allocations: 8.031 kB / 422.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.1433, allocations: 32.56 kB / 422.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.1436, allocations: 267.8 kB / 423.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.1437, allocations: 20.75 kB / 423.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.1438, allocations: 28.31 kB / 423.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000629/0.1444, allocations: 347.8 kB / 423.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1444, allocations: 192 / 423.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/0.1445, allocations: 15.94 kB / 423.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.1445, allocations: 4 kB / 423.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004885/0.145, allocations: 295.3 kB / 423.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2675/0.4125, allocations: 1.351 MB / 425.1 MB, free: 40.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008336/0.4134, allocations: 381.1 kB / 425.5 MB, free: 40.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.4136, allocations: 170.3 kB / 425.6 MB, free: 40.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007624/0.4144, allocations: 0.6884 MB / 426.3 MB, free: 40.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.4144, allocations: 39.61 kB / 426.4 MB, free: 40.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.033e-06/0.4144, allocations: 0 / 426.4 MB, free: 40.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.003509/0.418, allocations: 1.141 MB / 427.5 MB, free: 40.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.418, allocations: 106.1 kB / 427.6 MB, free: 40.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.4183, allocations: 231.4 kB / 427.8 MB, free: 39.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.4183, allocations: 36.39 kB / 427.9 MB, free: 39.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.453e-05/0.4184, allocations: 145.7 kB / 428 MB, free: 39.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.307e-05/0.4185, allocations: 94.83 kB / 428.1 MB, free: 39.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.4185, allocations: 40.05 kB / 428.2 MB, free: 39.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.049e-05/0.4186, allocations: 340.5 kB / 428.5 MB, free: 39.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.4188, allocations: 191.8 kB / 428.7 MB, free: 39.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.4192, allocations: 269.6 kB / 428.9 MB, free: 39.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005903/0.4197, allocations: 466.8 kB / 429.4 MB, free: 39.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4198, allocations: 0 / 429.4 MB, free: 39.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001882/0.4216, allocations: 0.8262 MB / 430.2 MB, free: 39.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4217, allocations: 3.281 kB / 430.2 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.4217, allocations: 3.844 kB / 430.2 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.4237, allocations: 424.8 kB / 430.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.424, allocations: 73.97 kB / 430.7 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004455/0.4285, allocations: 3.712 MB / 434.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.4288, allocations: 56.17 kB / 434.5 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.4289, allocations: 18.25 kB / 434.5 MB, free: 36.61 MB / 350.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.0001575/0.429, allocations: 140.8 kB / 434.6 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.4291, allocations: 28.19 kB / 434.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.4311, allocations: 0.7356 MB / 435.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4311, allocations: 3.219 kB / 435.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4311, allocations: 3.25 kB / 435.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4311, allocations: 0 / 435.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.4315, allocations: 420.2 kB / 435.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4315, allocations: 0 / 435.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.4317, allocations: 46.94 kB / 435.9 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00182/0.4335, allocations: 413.8 kB / 436.3 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.4335, allocations: 7.156 kB / 436.3 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003629/0.4372, allocations: 3.708 MB / 440 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.4372, allocations: 3.656 kB / 440 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.4389, allocations: 0.7721 MB / 440.8 MB, free: 32.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.439, allocations: 106.6 kB / 440.9 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.439, allocations: 11.34 kB / 440.9 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.4392, allocations: 18.19 kB / 440.9 MB, free: 32.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.4393, allocations: 23.77 kB / 440.9 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.4393, allocations: 13.81 kB / 440.9 MB, free: 32.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.4395, allocations: 163.6 kB / 441.1 MB, free: 32.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4395, allocations: 0 / 441.1 MB, free: 32.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004819/0.44, allocations: 113.3 kB / 441.2 MB, free: 32.12 MB / 350.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.0001933/0.4402, allocations: 121.4 kB / 441.3 MB, free: 32.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.4415, allocations: 0.768 MB / 442.1 MB, free: 31.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4416, allocations: 0 / 442.1 MB, free: 31.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008896/0.4425, allocations: 0.518 MB / 442.6 MB, free: 31.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.4428, allocations: 23.91 kB / 442.6 MB, free: 31.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008304/0.4436, allocations: 0.6472 MB / 443.3 MB, free: 30.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.4438, allocations: 0.7587 MB / 444 MB, free: 30.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.4439, allocations: 41.39 kB / 444.1 MB, free: 30.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.444, allocations: 25.47 kB / 444.1 MB, free: 30.09 MB / 350.1 MB Notification: Performance of SimCode: time 1.142e-06/0.444, allocations: 0 / 444.1 MB, free: 30.09 MB / 350.1 MB Notification: Performance of Templates: time 0.0089/0.4529, allocations: 6.014 MB / 450.1 MB, free: 29.71 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: