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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005176/0.005176, allocations: 88.59 kB / 15.91 MB, free: 6.301 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.001109/0.001109, allocations: 198.2 kB / 16.83 MB, free: 6.234 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.198/1.198, allocations: 222.9 MB / 240.5 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1356/0.1356, allocations: 8.083 MB / 298.7 MB, free: 2.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009862/0.0009861, allocations: 63.89 kB / 361 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08187/0.08287, allocations: 51.51 MB / 412.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002056/0.08496, allocations: 0.9857 MB / 413.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.0862, allocations: 1.166 MB / 414.7 MB, free: 8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.08624, allocations: 8 kB / 414.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.08647, allocations: 47.83 kB / 414.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.758e-05/0.08659, allocations: 27.84 kB / 414.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.24e-05/0.08666, allocations: 19.97 kB / 414.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.787e-05/0.08673, allocations: 51.75 kB / 414.8 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.08682, allocations: 23.97 kB / 414.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.08686, allocations: 31.84 kB / 414.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.499e-05/0.08692, allocations: 23.92 kB / 414.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.08694, allocations: 8 kB / 414.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.08706, allocations: 55.92 kB / 415 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.08708, allocations: 11.92 kB / 415 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.08712, allocations: 27.86 kB / 415 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.08728, allocations: 111.9 kB / 415.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.08729, allocations: 4 kB / 415.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.42e-07/0.0873, allocations: 0 / 415.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.08731, allocations: 0 / 415.1 MB, free: 7.555 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004655/0.08778, allocations: 375.4 kB / 415.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.08782, allocations: 16.03 kB / 415.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.08785, allocations: 8.844 kB / 415.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.08796, allocations: 160.4 kB / 415.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.08798, allocations: 12.31 kB / 415.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.08799, allocations: 4.375 kB / 415.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.08814, allocations: 78.16 kB / 415.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.08815, allocations: 192 / 415.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.08817, allocations: 11.94 kB / 415.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.08818, allocations: 0 / 415.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.274e-05/0.08826, allocations: 43.98 kB / 415.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.08866, allocations: 352.5 kB / 416.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.021e-05/0.08872, allocations: 22.58 kB / 416.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.08875, allocations: 12.91 kB / 416.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.293e-05/0.08885, allocations: 81.11 kB / 416.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.08888, allocations: 46.44 kB / 416.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.08888, allocations: 3.938 kB / 416.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001251/0.08901, allocations: 41.69 kB / 416.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.08905, allocations: 59.34 kB / 416.4 MB, free: 6.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.214e-05/0.08914, allocations: 117.8 kB / 416.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.08916, allocations: 25.7 kB / 416.6 MB, free: 5.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.08922, allocations: 111.8 kB / 416.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.901e-06/0.08923, allocations: 8.031 kB / 416.7 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.08927, allocations: 25.7 kB / 416.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.711e-05/0.08936, allocations: 314.8 kB / 417 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.08939, allocations: 8 kB / 417 MB, free: 5.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.08941, allocations: 15.98 kB / 417 MB, free: 5.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.925e-05/0.08947, allocations: 28.8 kB / 417.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.08948, allocations: 0 / 417.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.068e-05/0.08957, allocations: 65.88 kB / 417.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.08959, allocations: 4 kB / 417.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.0896, allocations: 4.312 kB / 417.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.08961, allocations: 4 kB / 417.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.549e-05/0.08968, allocations: 11.92 kB / 417.2 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.08969, allocations: 0 / 417.2 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.08975, allocations: 15.84 kB / 417.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.08976, allocations: 3.984 kB / 417.2 MB, free: 5.258 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 (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 6.931e-05/0.08983, allocations: 117.8 kB / 417.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.08986, allocations: 0 / 417.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.323e-05/0.08995, allocations: 49.22 kB / 417.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.08996, allocations: 7.938 kB / 417.4 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.08997, allocations: 0 / 417.4 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.08998, allocations: 0 / 417.4 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.09013, allocations: 169.7 kB / 417.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.09013, allocations: 3.984 kB / 417.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.09016, allocations: 0 / 417.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.09017, allocations: 4 kB / 417.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-06/0.09018, allocations: 0 / 417.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.09018, allocations: 3.938 kB / 417.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.09019, allocations: 0 / 417.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.18e-05/0.09029, allocations: 147.5 kB / 417.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.09033, allocations: 81.02 kB / 417.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.09035, allocations: 3.938 kB / 417.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.604e-05/0.09041, allocations: 3.938 kB / 417.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.09043, allocations: 0 / 417.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.09043, allocations: 4 kB / 417.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.69e-05/0.09049, allocations: 95.27 kB / 417.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09049, allocations: 7.969 kB / 417.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.09071, allocations: 12 kB / 417.9 MB, free: 4.461 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 (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.0001102/0.09083, allocations: 99.25 kB / 418 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.861e-05/0.09092, allocations: 27.92 kB / 418 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.09092, allocations: 0 / 418 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.124e-05/0.09094, allocations: 8 kB / 418 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.09114, allocations: 8 kB / 418 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.0914, allocations: 176.7 kB / 418.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.09161, allocations: 0.6849 MB / 418.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.21e-05/0.09165, allocations: 16.09 kB / 418.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.519e-05/0.09167, allocations: 7.438 kB / 418.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.09168, allocations: 0 / 418.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of Templates: time 0.002174/0.09385, allocations: 0.5396 MB / 419.4 MB, free: 2.84 MB / 350.1 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)