Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, 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.534/1.534, allocations: 222.9 MB / 240.3 MB, free: 11.01 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.001098/0.001098, allocations: 105.9 kB / 290.6 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04935/0.04935, allocations: 8.092 MB / 348.8 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 56.27 kB / 411.1 MB, free: 57.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0781/0.07914, allocations: 51.52 MB / 462.6 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.001948/0.08113, allocations: 1.206 MB / 463.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.08237, allocations: 1.438 MB / 465.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.08242, allocations: 4 kB / 465.3 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.0827, allocations: 87.67 kB / 465.3 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.08284, allocations: 59.66 kB / 465.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000948/0.08379, allocations: 0.7431 MB / 466.1 MB, free: 2.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.08395, allocations: 123.4 kB / 466.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.08407, allocations: 41.08 kB / 466.3 MB, free: 2.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.08412, allocations: 59.73 kB / 466.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.86e-05/0.08419, allocations: 71.73 kB / 466.4 MB, free: 2.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.08422, allocations: 8 kB / 466.4 MB, free: 2.223 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.08448, allocations: 155.8 kB / 466.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.08451, allocations: 23.86 kB / 466.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.355e-05/0.08457, allocations: 63.72 kB / 466.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.08484, allocations: 259.5 kB / 466.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.08486, allocations: 0 / 466.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.08486, allocations: 0 / 466.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.08487, allocations: 4 kB / 466.9 MB, free: 1.727 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001293/0.08617, allocations: 0.5851 MB / 467.5 MB, free: 1.086 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.08621, allocations: 12.03 kB / 467.5 MB, free: 1.074 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.08627, allocations: 16.75 kB / 467.5 MB, free: 1.059 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.08642, allocations: 212.1 kB / 467.8 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.08644, allocations: 8.609 kB / 467.8 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.08647, allocations: 12.38 kB / 467.8 MB, free: 0.793 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.08672, allocations: 176 kB / 467.9 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.08674, allocations: 192 / 467.9 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.08676, allocations: 7.938 kB / 468 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.08677, allocations: 4 kB / 468 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.08696, allocations: 156.6 kB / 468.1 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008185/0.08779, allocations: 0.5635 MB / 468.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.08807, allocations: 166.5 kB / 468.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.08818, allocations: 60.86 kB / 468.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.74e-05/0.08824, allocations: 15.98 kB / 468.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.08828, allocations: 34.5 kB / 468.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.08829, allocations: 0 / 468.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.00108/0.08938, allocations: 387.6 kB / 469.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.08943, allocations: 55.41 kB / 469.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.0896, allocations: 168 kB / 469.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.08963, allocations: 29.7 kB / 469.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.08973, allocations: 120.1 kB / 469.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.08978, allocations: 43.34 kB / 469.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/0.08987, allocations: 53.62 kB / 469.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.09001, allocations: 326.8 kB / 470.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.09016, allocations: 91.91 kB / 470.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.0903, allocations: 91.97 kB / 470.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.09058, allocations: 191.8 kB / 470.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.09059, allocations: 0 / 470.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005584/0.09115, allocations: 310 kB / 470.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.09118, allocations: 6.969 kB / 470.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.09119, allocations: 0 / 470.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002724/0.09147, allocations: 52.83 kB / 470.8 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.09166, allocations: 39.97 kB / 470.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.09305, allocations: 1.436 MB / 472.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.0932, allocations: 23.72 kB / 472.3 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.09323, allocations: 4 kB / 472.3 MB, free: 11.94 MB / 314.7 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.09334, allocations: 134.6 kB / 472.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.09339, allocations: 7.906 kB / 472.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004689/0.09386, allocations: 227.2 kB / 472.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.09388, allocations: 7.938 kB / 472.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.09389, allocations: 0 / 472.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.09389, allocations: 0 / 472.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.09418, allocations: 257.4 kB / 473 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.09419, allocations: 7.938 kB / 473 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.26e-05/0.09428, allocations: 23.98 kB / 473 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001918/0.09447, allocations: 44.83 kB / 473 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.0945, allocations: 7.938 kB / 473 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.0957, allocations: 1.441 MB / 474.5 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.09572, allocations: 0 / 474.5 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/0.09653, allocations: 0.9434 MB / 475.4 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.09659, allocations: 92.95 kB / 475.5 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.09663, allocations: 4 kB / 475.5 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.09675, allocations: 0 / 475.5 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.0968, allocations: 15.92 kB / 475.5 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.09681, allocations: 8 kB / 475.5 MB, free: 8.449 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.467e-05/0.09691, allocations: 134.1 kB / 475.7 MB, free: 8.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09692, allocations: 0 / 475.7 MB, free: 8.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003896/0.09732, allocations: 51.91 kB / 475.7 MB, free: 8.27 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 (12): * Single equations (assignments): 11 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001852/0.09751, allocations: 123.1 kB / 475.8 MB, free: 8.141 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006499/0.09817, allocations: 321.8 kB / 476.2 MB, free: 7.816 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.09818, allocations: 3.938 kB / 476.2 MB, free: 7.812 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.09855, allocations: 194.7 kB / 476.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.0988, allocations: 12 kB / 476.4 MB, free: 7.598 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007352/0.09954, allocations: 494.5 kB / 476.8 MB, free: 7.078 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.0998, allocations: 0.7163 MB / 477.6 MB, free: 6.332 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.349e-05/0.09989, allocations: 20.62 kB / 477.6 MB, free: 6.312 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.09994, allocations: 19.44 kB / 477.6 MB, free: 6.293 MB / 314.7 MB Notification: Performance of SimCode: time 1.793e-06/0.09994, allocations: 0 / 477.6 MB, free: 6.293 MB / 314.7 MB Notification: Performance of Templates: time 0.004906/0.1049, allocations: 2.126 MB / 479.7 MB, free: 4.172 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)