Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") translateModel(PowerSysPro.Examples.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001501, allocations: 120.8 kB / 17.13 MB, free: 5.961 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.001462/0.001462, allocations: 193.2 kB / 18.06 MB, free: 5.039 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.409/1.409, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04674/0.04674, allocations: 8.097 MB / 300 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.91 kB / 415.2 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08321/0.08458, allocations: 51.52 MB / 466.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002266/0.08689, allocations: 1.233 MB / 467.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.0884, allocations: 1.267 MB / 469.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.08848, allocations: 0 / 469.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.08873, allocations: 71.62 kB / 469.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.08892, allocations: 55.61 kB / 469.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007157/0.08964, allocations: 366.5 kB / 469.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.08981, allocations: 123.5 kB / 469.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.08996, allocations: 65.83 kB / 469.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.007e-05/0.09004, allocations: 51.78 kB / 469.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.09019, allocations: 63.7 kB / 469.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.09023, allocations: 12 kB / 470 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.09045, allocations: 111.9 kB / 470.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.09049, allocations: 27.92 kB / 470.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.09056, allocations: 63.67 kB / 470.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.09086, allocations: 211.4 kB / 470.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.09088, allocations: 0 / 470.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.09089, allocations: 3.938 kB / 470.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.0909, allocations: 0 / 470.4 MB, free: 14.45 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009788/0.09188, allocations: 475 kB / 470.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.09193, allocations: 15.89 kB / 470.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.09199, allocations: 8.844 kB / 470.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.09221, allocations: 200 kB / 471.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.09224, allocations: 8.375 kB / 471.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.09227, allocations: 12.38 kB / 471.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.09251, allocations: 142.1 kB / 471.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.09253, allocations: 192 / 471.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.09255, allocations: 7.938 kB / 471.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.09257, allocations: 7.984 kB / 471.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.09273, allocations: 95.97 kB / 471.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.09346, allocations: 488.2 kB / 471.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.09378, allocations: 102.6 kB / 471.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.09384, allocations: 28.84 kB / 471.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.09396, allocations: 85.11 kB / 472 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.09399, allocations: 34.56 kB / 472 MB, free: 12.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.094, allocations: 0 / 472 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005696/0.09458, allocations: 219.5 kB / 472.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.09463, allocations: 55.41 kB / 472.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.09478, allocations: 149.9 kB / 472.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.09481, allocations: 25.7 kB / 472.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.84e-05/0.0949, allocations: 123.4 kB / 472.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.09493, allocations: 19.72 kB / 472.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.09498, allocations: 25.7 kB / 472.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.09513, allocations: 326.7 kB / 473 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.777e-05/0.0952, allocations: 31.98 kB / 473 MB, free: 11.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.697e-05/0.09525, allocations: 28 kB / 473 MB, free: 11.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.839e-05/0.09535, allocations: 68.78 kB / 473.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.09536, allocations: 0 / 473.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002711/0.09564, allocations: 138.5 kB / 473.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.09566, allocations: 4 kB / 473.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.09567, allocations: 0 / 473.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002229/0.0959, allocations: 36.83 kB / 473.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.09598, allocations: 15.98 kB / 473.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.09716, allocations: 1.43 MB / 474.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.05e-05/0.09727, allocations: 3.984 kB / 474.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.09729, allocations: 4.031 kB / 474.7 MB, free: 9.676 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 (9): * Single equations (assignments): 8 * 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 9.151e-05/0.09738, allocations: 121.8 kB / 474.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.09742, allocations: 7.906 kB / 474.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.0977, allocations: 118.8 kB / 475 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.09772, allocations: 8.062 kB / 475 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.09773, allocations: 3.984 kB / 475 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.09773, allocations: 0 / 475 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.09797, allocations: 229.4 kB / 475.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.09798, allocations: 0 / 475.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.09802, allocations: 8 kB / 475.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001492/0.09818, allocations: 36.77 kB / 475.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.0982, allocations: 4 kB / 475.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.09923, allocations: 1.402 MB / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.09925, allocations: 3.938 kB / 476.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.09951, allocations: 204.7 kB / 476.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.09957, allocations: 88.94 kB / 476.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.09959, allocations: 7.984 kB / 476.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.09971, allocations: 11.98 kB / 477 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.09975, allocations: 4.062 kB / 477 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.09976, allocations: 8 kB / 477 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.09987, allocations: 115.2 kB / 477.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.09988, allocations: 0 / 477.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.1002, allocations: 43.78 kB / 477.1 MB, free: 7.02 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 (6): * Single equations (assignments): 5 * 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.000149/0.1003, allocations: 111.2 kB / 477.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003605/0.1007, allocations: 190.9 kB / 477.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1007, allocations: 0 / 477.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.1009, allocations: 146.6 kB / 477.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.1012, allocations: 12.22 kB / 477.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.1017, allocations: 282.9 kB / 477.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.102, allocations: 0.7041 MB / 478.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.102, allocations: 15.42 kB / 478.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.102, allocations: 0 / 478.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of Templates: time 0.003937/0.1059, allocations: 2.143 MB / 480.7 MB, free: 3.34 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)