Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 11 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.001058/0.001058, allocations: 98.27 kB / 290.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04743/0.04743, allocations: 8.088 MB / 348.8 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009919/0.0009923, allocations: 55.47 kB / 411.1 MB, free: 57.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08892/0.08993, allocations: 51.53 MB / 462.6 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001932/0.0919, allocations: 0.9884 MB / 463.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000998/0.09292, allocations: 1.158 MB / 464.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.09296, allocations: 4 kB / 464.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.0932, allocations: 51.83 kB / 464.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.908e-05/0.0933, allocations: 23.84 kB / 464.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.912e-05/0.09337, allocations: 27.97 kB / 464.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.846e-05/0.09345, allocations: 47.81 kB / 464.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.691e-05/0.09355, allocations: 19.98 kB / 464.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.899e-05/0.0936, allocations: 31.8 kB / 465 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.373e-05/0.09367, allocations: 27.91 kB / 465 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.09369, allocations: 4 kB / 465 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.09381, allocations: 55.92 kB / 465 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.09383, allocations: 7.938 kB / 465.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.09387, allocations: 31.84 kB / 465.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.09403, allocations: 115.9 kB / 465.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.09404, allocations: 4 kB / 465.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.09405, allocations: 0 / 465.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.09406, allocations: 0 / 465.2 MB, free: 3.48 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004419/0.0945, allocations: 375.4 kB / 465.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.09454, allocations: 12.03 kB / 465.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.09458, allocations: 8.844 kB / 465.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.964e-05/0.09465, allocations: 160.4 kB / 465.7 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.09467, allocations: 4.375 kB / 465.7 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.09469, allocations: 12.38 kB / 465.8 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.09482, allocations: 82.09 kB / 465.8 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.09484, allocations: 8.172 kB / 465.8 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.09486, allocations: 11.88 kB / 465.9 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.09486, allocations: 0 / 465.9 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.679e-05/0.09494, allocations: 43.98 kB / 465.9 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.09531, allocations: 348.5 kB / 466.2 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.604e-05/0.09537, allocations: 22.58 kB / 466.3 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.09539, allocations: 12.92 kB / 466.3 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.995e-05/0.09549, allocations: 81.09 kB / 466.4 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.09551, allocations: 38.56 kB / 466.4 MB, free: 2.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/0.09552, allocations: 0 / 466.4 MB, free: 2.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001359/0.09566, allocations: 49.67 kB / 466.4 MB, free: 2.047 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.09569, allocations: 63.33 kB / 466.5 MB, free: 1.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.331e-05/0.09577, allocations: 121.7 kB / 466.6 MB, free: 1.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.611e-06/0.09578, allocations: 25.7 kB / 466.6 MB, free: 1.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.09582, allocations: 107.9 kB / 466.8 MB, free: 1.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/0.09583, allocations: 3.906 kB / 466.8 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.09586, allocations: 21.72 kB / 466.8 MB, free: 1.672 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.366e-05/0.09591, allocations: 318.8 kB / 467.1 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.09594, allocations: 12.03 kB / 467.1 MB, free: 1.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.057e-05/0.09597, allocations: 15.98 kB / 467.1 MB, free: 1.324 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.949e-05/0.09601, allocations: 28.8 kB / 467.1 MB, free: 1.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.09602, allocations: 0 / 467.1 MB, free: 1.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.998e-05/0.0961, allocations: 61.69 kB / 467.2 MB, free: 1.227 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.09612, allocations: 4 kB / 467.2 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.09613, allocations: 0 / 467.2 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.09615, allocations: 4 kB / 467.2 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.09622, allocations: 11.92 kB / 467.2 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.09623, allocations: 0 / 467.2 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.127e-05/0.09628, allocations: 15.84 kB / 467.2 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.09629, allocations: 4 kB / 467.2 MB, free: 1.188 MB / 298.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 (5): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.09635, allocations: 109.8 kB / 467.4 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.09638, allocations: 0 / 467.4 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.509e-05/0.09647, allocations: 61.11 kB / 467.4 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.09648, allocations: 3.938 kB / 467.4 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.09648, allocations: 0 / 467.4 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.09649, allocations: 0 / 467.4 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.09664, allocations: 173.6 kB / 467.6 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.09665, allocations: 4.219 kB / 467.6 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.09668, allocations: 11.98 kB / 467.6 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.09668, allocations: 0 / 467.6 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.09669, allocations: 0 / 467.6 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.0967, allocations: 3.938 kB / 467.6 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.09671, allocations: 0 / 467.6 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.09689, allocations: 0.6926 MB / 468.3 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.09696, allocations: 85.09 kB / 468.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.09698, allocations: 0 / 468.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.352e-05/0.09704, allocations: 3.938 kB / 468.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-06/0.09705, allocations: 0 / 468.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.09706, allocations: 0 / 468.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.962e-05/0.09712, allocations: 103.2 kB / 468.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09712, allocations: 0 / 468.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003168/0.09745, allocations: 19.91 kB / 468.5 MB, free: 15.78 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001244/0.09758, allocations: 107.2 kB / 468.6 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.03e-05/0.09767, allocations: 19.98 kB / 468.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.09768, allocations: 0 / 468.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.441e-05/0.0977, allocations: 8 kB / 468.6 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.09789, allocations: 11.03 kB / 468.6 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.09823, allocations: 283.9 kB / 468.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.09844, allocations: 0.6809 MB / 469.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.905e-05/0.09848, allocations: 7.984 kB / 469.6 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.507e-05/0.0985, allocations: 7.438 kB / 469.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.0985, allocations: 4 kB / 469.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of Templates: time 0.002226/0.1007, allocations: 0.5559 MB / 470.2 MB, free: 14.03 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneSource.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & ./PowerSysPro_PowerSysPro.Tests.OneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)