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.001525/0.001525, allocations: 107.8 kB / 16.41 MB, free: 6.457 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.001753/0.001753, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01224/0.01224, allocations: 2.958 MB / 294.2 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 71.88 kB / 407 MB, free: 28.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07048/0.07177, allocations: 50.32 MB / 457.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002611/0.07441, allocations: 1.537 MB / 458.8 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.07544, allocations: 0.801 MB / 459.6 MB, free: 8.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.07549, allocations: 0 / 459.6 MB, free: 8.043 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo:165:3-189:14:writable] Warning: Pure function 'ExternData.SSVFile' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.07579, allocations: 35.84 kB / 459.6 MB, free: 8.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.07592, allocations: 39.84 kB / 459.7 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.519e-05/0.07596, allocations: 3.984 kB / 459.7 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.075e-05/0.07604, allocations: 35.86 kB / 459.7 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.172e-05/0.07612, allocations: 11.94 kB / 459.7 MB, free: 7.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.564e-05/0.07617, allocations: 11.92 kB / 459.7 MB, free: 7.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.07628, allocations: 15.92 kB / 459.8 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.0763, allocations: 4 kB / 459.8 MB, free: 7.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.517e-05/0.07639, allocations: 23.98 kB / 459.8 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.07642, allocations: 11.92 kB / 459.8 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.07645, allocations: 11.94 kB / 459.8 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.07657, allocations: 47.88 kB / 459.9 MB, free: 7.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.07659, allocations: 0 / 459.9 MB, free: 7.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.07659, allocations: 7.938 kB / 459.9 MB, free: 7.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.07661, allocations: 4 kB / 459.9 MB, free: 7.781 MB / 334.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.0003909/0.077, allocations: 335.5 kB / 460.2 MB, free: 7.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.07704, allocations: 15.88 kB / 460.2 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.07708, allocations: 8.844 kB / 460.2 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.07721, allocations: 164.3 kB / 460.4 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.07722, allocations: 4.375 kB / 460.4 MB, free: 7.176 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.07724, allocations: 4.375 kB / 460.4 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.07735, allocations: 42.25 kB / 460.4 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.07737, allocations: 192 / 460.4 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.07738, allocations: 3.938 kB / 460.4 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.07739, allocations: 0 / 460.4 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.07747, allocations: 19.92 kB / 460.5 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.07776, allocations: 252.9 kB / 460.7 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.183e-05/0.07784, allocations: 34.52 kB / 460.7 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.07789, allocations: 16.91 kB / 460.8 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.07791, allocations: 4 kB / 460.8 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.07794, allocations: 30.56 kB / 460.8 MB, free: 6.699 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.07794, allocations: 0 / 460.8 MB, free: 6.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002091/0.07816, allocations: 61.53 kB / 460.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.07819, allocations: 55.53 kB / 460.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.0783, allocations: 117.8 kB / 461 MB, free: 6.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.07832, allocations: 29.64 kB / 461 MB, free: 6.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.07835, allocations: 80.14 kB / 461.1 MB, free: 6.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.07837, allocations: 11.89 kB / 461.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.07841, allocations: 13.72 kB / 461.2 MB, free: 6.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.298e-05/0.07851, allocations: 310.8 kB / 461.5 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.681e-05/0.07856, allocations: 11.98 kB / 461.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.754e-05/0.07859, allocations: 12 kB / 461.5 MB, free: 5.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.366e-05/0.07866, allocations: 20.84 kB / 461.5 MB, free: 5.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.07867, allocations: 4 kB / 461.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001081/0.07879, allocations: 53.56 kB / 461.6 MB, free: 5.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.07881, allocations: 10.5 kB / 461.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.07882, allocations: 3.984 kB / 461.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.07884, allocations: 0 / 461.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.0789, allocations: 8.094 kB / 461.6 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.07892, allocations: 0 / 461.6 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.07895, allocations: 3.906 kB / 461.6 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.07896, allocations: 4 kB / 461.6 MB, free: 5.844 MB / 334.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.55e-05/0.07903, allocations: 106.5 kB / 461.7 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.07907, allocations: 7.938 kB / 461.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.0791, allocations: 11.52 kB / 461.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.0791, allocations: 0 / 461.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.07911, allocations: 7.984 kB / 461.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.07915, allocations: 77.11 kB / 461.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.07917, allocations: 4 kB / 461.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.07923, allocations: 0 / 461.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.07926, allocations: 3.984 kB / 461.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001401/0.07941, allocations: 136.8 kB / 461.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001708/0.07959, allocations: 230.8 kB / 462.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.685e-05/0.07963, allocations: 4 kB / 462.2 MB, free: 5.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.917e-05/0.07969, allocations: 91.58 kB / 462.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of Backend: time 2.81e-07/0.07969, allocations: 0 / 462.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007348/0.08043, allocations: 202.8 kB / 462.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004028/0.08085, allocations: 0.5732 MB / 463 MB, free: 4.336 MB / 334.1 MB Notification: Performance of Templates: time 0.002828/0.08369, allocations: 0.7655 MB / 463.8 MB, free: 3.574 MB / 334.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)