Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.SSVTest.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/ExternData 3.0.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-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(ExternData.Examples.SSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.SSVTest") translateModel(ExternData.Examples.SSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.SSVTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 181.6 kB / 16.92 MB, free: 6.891 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.308/1.308, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1227/0.1227, allocations: 2.959 MB / 295 MB, free: 3.953 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002622/0.0002623, allocations: 8 kB / 357.1 MB, free: 3.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07986/0.08013, allocations: 51.35 MB / 408.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.001696/0.08184, allocations: 1.252 MB / 409.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009096/0.08277, allocations: 0.7774 MB / 410.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.0828, allocations: 0 / 410.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.08305, allocations: 31.91 kB / 410.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.08317, allocations: 31.91 kB / 410.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.35e-05/0.08321, allocations: 11.94 kB / 410.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.901e-05/0.08327, allocations: 27.92 kB / 410.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.944e-05/0.08334, allocations: 4 kB / 410.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.794e-05/0.08339, allocations: 11.92 kB / 410.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.08352, allocations: 19.86 kB / 410.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-06/0.08356, allocations: 0 / 410.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.628e-05/0.08364, allocations: 23.98 kB / 410.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.08366, allocations: 3.984 kB / 410.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.08369, allocations: 37.64 kB / 410.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.929e-05/0.08379, allocations: 35.94 kB / 410.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.0838, allocations: 4 kB / 410.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.08381, allocations: 4 kB / 410.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.08381, allocations: 0 / 410.8 MB, free: 13.67 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003484/0.08417, allocations: 343.7 kB / 411.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.08421, allocations: 8.031 kB / 411.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.08424, allocations: 8.844 kB / 411.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.0844, allocations: 168.3 kB / 411.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.08444, allocations: 4.375 kB / 411.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.08445, allocations: 4.375 kB / 411.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.08456, allocations: 46.23 kB / 411.3 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.08458, allocations: 192 / 411.3 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.08459, allocations: 3.938 kB / 411.3 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.0846, allocations: 0 / 411.3 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.08469, allocations: 27.92 kB / 411.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.08498, allocations: 248.9 kB / 411.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.649e-05/0.08508, allocations: 42.44 kB / 411.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.08513, allocations: 12.92 kB / 411.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-06/0.08514, allocations: 3.984 kB / 411.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.08518, allocations: 38.56 kB / 411.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.08518, allocations: 0 / 411.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000201/0.08539, allocations: 65.53 kB / 411.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.08543, allocations: 55.41 kB / 411.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.08557, allocations: 109.8 kB / 411.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.08558, allocations: 25.83 kB / 411.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.08563, allocations: 92.12 kB / 412 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.08565, allocations: 3.906 kB / 412 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.08568, allocations: 13.72 kB / 412.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.08578, allocations: 314.8 kB / 412.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.08583, allocations: 7.984 kB / 412.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.542e-05/0.08587, allocations: 12 kB / 412.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.164e-05/0.08595, allocations: 28.91 kB / 412.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.08596, allocations: 0 / 412.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001225/0.08608, allocations: 65.56 kB / 412.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.0861, allocations: 5.719 kB / 412.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.08611, allocations: 0 / 412.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.08613, allocations: 32 / 412.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.0862, allocations: 11.98 kB / 412.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.08621, allocations: 3.938 kB / 412.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.08624, allocations: 4 kB / 412.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.08625, allocations: 0 / 412.5 MB, free: 11.7 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 (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 prepare postOptimizeDAE: time 6.25e-05/0.08632, allocations: 117.8 kB / 412.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.08635, allocations: 3.906 kB / 412.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.08637, allocations: 7.531 kB / 412.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.08638, allocations: 4 kB / 412.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.08639, allocations: 3.984 kB / 412.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.0864, allocations: 0 / 412.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.08658, allocations: 161.6 kB / 412.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.08659, allocations: 0 / 412.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.08664, allocations: 11.98 kB / 412.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.08664, allocations: 0 / 412.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.08665, allocations: 0 / 412.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.08666, allocations: 0 / 412.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.08666, allocations: 0 / 412.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.08682, allocations: 155.4 kB / 413 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.08687, allocations: 85.02 kB / 413 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.08689, allocations: 11.92 kB / 413 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.649e-05/0.08695, allocations: 0 / 413 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.08698, allocations: 4 kB / 413.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.08699, allocations: 0 / 413.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.617e-05/0.08705, allocations: 99.59 kB / 413.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08705, allocations: 0 / 413.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.08729, allocations: 12 kB / 413.2 MB, free: 10.94 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.0004667/0.08776, allocations: 188.5 kB / 413.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.0879, allocations: 27.98 kB / 413.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.08791, allocations: 3.938 kB / 413.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.08796, allocations: 8 kB / 413.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.08822, allocations: 15.92 kB / 413.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.08849, allocations: 164.4 kB / 413.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.08876, allocations: 0.6809 MB / 414.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.08881, allocations: 15.42 kB / 414.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.08881, allocations: 0 / 414.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of Templates: time 0.002222/0.09104, allocations: 0.9278 MB / 415.2 MB, free: 8.887 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.SSVTest.makefile (rm -f ExternData_ExternData.Examples.SSVTest.pipe ; mkfifo ExternData_ExternData.Examples.SSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.SSVTest.pipe >> ../files/ExternData_ExternData.Examples.SSVTest.sim & ./ExternData_ExternData.Examples.SSVTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.SSVTest.pipe 2>&1)