Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 115 kB / 17.13 MB, free: 5.922 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.002261/0.002261, allocations: 197.1 kB / 18.06 MB, free: 5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.585/2.585, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.08899/0.08899, allocations: 8.095 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001848, allocations: 63.91 kB / 415.1 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1685, allocations: 51.52 MB / 466.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.0044/0.173, allocations: 1.605 MB / 468.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.1764, allocations: 1.555 MB / 469.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.1766, allocations: 4 kB / 469.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005899/0.1772, allocations: 131.3 kB / 470 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005564/0.1778, allocations: 135.2 kB / 470.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.1808, allocations: 1.171 MB / 471.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000625/0.1815, allocations: 242.8 kB / 471.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.1817, allocations: 72.34 kB / 471.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1819, allocations: 103.6 kB / 471.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.1822, allocations: 127.5 kB / 471.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.425e-05/0.1823, allocations: 16 kB / 471.8 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009875/0.1833, allocations: 255.7 kB / 472.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.1834, allocations: 47.83 kB / 472.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.1836, allocations: 123.3 kB / 472.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008827/0.1845, allocations: 426.8 kB / 472.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.1845, allocations: 3.938 kB / 472.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1845, allocations: 0 / 472.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.1845, allocations: 0 / 472.6 MB, free: 12.16 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.004283/0.1888, allocations: 0.9086 MB / 473.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.523e-05/0.1889, allocations: 12.03 kB / 473.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.189, allocations: 24.66 kB / 473.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.1895, allocations: 259.9 kB / 473.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.1895, allocations: 12.7 kB / 473.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.1896, allocations: 32.25 kB / 473.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006931/0.1903, allocations: 289.7 kB / 474.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1903, allocations: 4.188 kB / 474.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.1904, allocations: 11.94 kB / 474.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1904, allocations: 4 kB / 474.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005737/0.191, allocations: 243.9 kB / 474.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.1933, allocations: 1.137 MB / 475.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.1943, allocations: 310.4 kB / 475.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.1947, allocations: 157.3 kB / 476 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.458e-05/0.1948, allocations: 19.92 kB / 476 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.1948, allocations: 30.56 kB / 476.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 3.676e-06/0.1948, allocations: 0 / 476.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.004433/0.1993, allocations: 0.9681 MB / 477 MB, free: 7.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/0.1994, allocations: 77.11 kB / 477.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.1998, allocations: 214.8 kB / 477.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/0.1999, allocations: 33.7 kB / 477.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.2, allocations: 132.8 kB / 477.5 MB, free: 7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.2002, allocations: 82.75 kB / 477.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.2004, allocations: 69.67 kB / 477.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.2006, allocations: 334.8 kB / 478 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.201, allocations: 163.9 kB / 478.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.2015, allocations: 193.6 kB / 478.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008498/0.2023, allocations: 374 kB / 478.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2023, allocations: 0 / 478.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.002636/0.205, allocations: 0.685 MB / 479.4 MB, free: 5.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/0.2051, allocations: 8 kB / 479.4 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.2051, allocations: 3.984 kB / 479.4 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/0.2077, allocations: 384.4 kB / 479.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.208, allocations: 51.91 kB / 479.8 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006966/0.215, allocations: 2.738 MB / 482.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.2155, allocations: 31.75 kB / 482.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/0.2156, allocations: 12.12 kB / 482.6 MB, free: 1.727 MB / 350.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 (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002886/0.2159, allocations: 141.8 kB / 482.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.2161, allocations: 23.66 kB / 482.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/0.2187, allocations: 0.652 MB / 483.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.2187, allocations: 11.88 kB / 483.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2187, allocations: 0 / 483.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.2188, allocations: 0 / 483.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000721/0.2195, allocations: 385.2 kB / 483.8 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.2195, allocations: 0 / 483.8 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.2198, allocations: 39.92 kB / 483.8 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002459/0.2222, allocations: 380.7 kB / 484.2 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.331e-05/0.2223, allocations: 4 kB / 484.2 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007099/0.2294, allocations: 2.719 MB / 486.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2295, allocations: 0 / 486.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/0.2323, allocations: 0.7073 MB / 487.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.2325, allocations: 96.84 kB / 487.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.97e-05/0.2326, allocations: 11.91 kB / 487.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.2331, allocations: 15.98 kB / 487.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.2332, allocations: 23.97 kB / 487.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.2333, allocations: 8 kB / 487.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002698/0.2336, allocations: 155.4 kB / 487.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2336, allocations: 3.938 kB / 487.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007888/0.2344, allocations: 96 kB / 488 MB, free: 12.02 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 (22): * Single equations (assignments): 21 * 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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003706/0.2348, allocations: 123.3 kB / 488.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002481/0.2373, allocations: 0.643 MB / 488.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/0.2373, allocations: 3.938 kB / 488.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00165/0.2389, allocations: 466.2 kB / 489.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.2395, allocations: 34.67 kB / 489.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.2411, allocations: 0.5111 MB / 489.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.2417, allocations: 0.7485 MB / 490.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.2418, allocations: 31.42 kB / 490.6 MB, free: 9.391 MB / 366.1 MB Notification: Performance of SimCode: time 1.252e-06/0.2419, allocations: 3.938 kB / 490.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of Templates: time 0.01383/0.2557, allocations: 4.895 MB / 495.5 MB, free: 4.496 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)