Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 118.1 kB / 16.42 MB, free: 6.012 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 / 240.1 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 196.4 kB / 290.4 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03638/0.03638, allocations: 8.794 MB / 349.3 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 79.88 kB / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07818/0.07972, allocations: 51.56 MB / 0.504 GB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002516/0.08227, allocations: 1.812 MB / 0.5058 GB, free: 7.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006365/0.08292, allocations: 462.8 kB / 0.5063 GB, free: 7.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.083, allocations: 4 kB / 0.5063 GB, free: 7.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.08311, allocations: 15.86 kB / 0.5063 GB, free: 7.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.511e-05/0.08319, allocations: 35.69 kB / 0.5063 GB, free: 7.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.08332, allocations: 31.91 kB / 0.5063 GB, free: 7.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.08348, allocations: 119.5 kB / 0.5065 GB, free: 7.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.08361, allocations: 50.78 kB / 0.5065 GB, free: 7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.356e-05/0.08367, allocations: 39.86 kB / 0.5065 GB, free: 6.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.08377, allocations: 59.7 kB / 0.5066 GB, free: 6.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.0838, allocations: 12 kB / 0.5066 GB, free: 6.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.184e-05/0.08383, allocations: 8 kB / 0.5066 GB, free: 6.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.08386, allocations: 19.92 kB / 0.5066 GB, free: 6.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.08392, allocations: 59.73 kB / 0.5067 GB, free: 6.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.08407, allocations: 115.6 kB / 0.5068 GB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.08408, allocations: 0 / 0.5068 GB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.08409, allocations: 0 / 0.5068 GB, free: 6.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.0841, allocations: 4 kB / 0.5068 GB, free: 6.688 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004777/0.08458, allocations: 411.1 kB / 0.5072 GB, free: 6.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.08462, allocations: 12.03 kB / 0.5072 GB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.08467, allocations: 12.78 kB / 0.5072 GB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.08487, allocations: 196.2 kB / 0.5074 GB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.08489, allocations: 8.375 kB / 0.5074 GB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.08493, allocations: 8.375 kB / 0.5074 GB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.08511, allocations: 102 kB / 0.5075 GB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.08513, allocations: 8 kB / 0.5075 GB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.08515, allocations: 4 kB / 0.5075 GB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.08516, allocations: 8 kB / 0.5075 GB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.08528, allocations: 63.91 kB / 0.5076 GB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006996/0.08599, allocations: 498.2 kB / 0.5081 GB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.398e-05/0.08609, allocations: 50.5 kB / 0.5081 GB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.08613, allocations: 24.88 kB / 0.5082 GB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-06/0.08614, allocations: 0 / 0.5082 GB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.08617, allocations: 34.56 kB / 0.5082 GB, free: 5.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.08617, allocations: 0 / 0.5082 GB, free: 5.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001613/0.08634, allocations: 61.59 kB / 0.5082 GB, free: 5.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.08637, allocations: 55.41 kB / 0.5083 GB, free: 4.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.0865, allocations: 147 kB / 0.5084 GB, free: 4.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.08653, allocations: 25.7 kB / 0.5085 GB, free: 4.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.0866, allocations: 115.9 kB / 0.5086 GB, free: 4.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.08662, allocations: 15.89 kB / 0.5086 GB, free: 4.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.08666, allocations: 21.62 kB / 0.5086 GB, free: 4.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.08678, allocations: 322.8 kB / 0.5089 GB, free: 4.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.08681, allocations: 11.94 kB / 0.5089 GB, free: 4.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.08686, allocations: 38.56 kB / 0.509 GB, free: 4.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.564e-05/0.08693, allocations: 46.52 kB / 0.509 GB, free: 4.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.08694, allocations: 0 / 0.509 GB, free: 4.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000119/0.08706, allocations: 77.62 kB / 0.5091 GB, free: 4.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.08708, allocations: 8 kB / 0.5091 GB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.08709, allocations: 4.062 kB / 0.5091 GB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.08711, allocations: 3.938 kB / 0.5091 GB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.433e-05/0.08721, allocations: 15.98 kB / 0.5091 GB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.08722, allocations: 4 kB / 0.5091 GB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.08727, allocations: 8.031 kB / 0.5091 GB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.08729, allocations: 4 kB / 0.5091 GB, free: 4.055 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.088e-05/0.08737, allocations: 125.7 kB / 0.5092 GB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.08741, allocations: 15.83 kB / 0.5093 GB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.08744, allocations: 8.25 kB / 0.5093 GB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.08745, allocations: 8 kB / 0.5093 GB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.08746, allocations: 3.984 kB / 0.5093 GB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.08751, allocations: 81.02 kB / 0.5094 GB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.08753, allocations: 0 / 0.5094 GB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-05/0.08762, allocations: 4 kB / 0.5094 GB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.08764, allocations: 3.938 kB / 0.5094 GB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001673/0.08782, allocations: 140.9 kB / 0.5095 GB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001806/0.08801, allocations: 246.8 kB / 0.5097 GB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.303e-05/0.08804, allocations: 8.031 kB / 0.5097 GB, free: 3.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.828e-05/0.08811, allocations: 117.1 kB / 0.5099 GB, free: 3.25 MB / 350.1 MB Notification: Performance of Backend: time 2.5e-07/0.08812, allocations: 4 kB / 0.5099 GB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.08844, allocations: 86.41 kB / 0.5099 GB, free: 3.156 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006211/0.08907, allocations: 0.7423 MB / 0.5107 GB, free: 2.363 MB / 350.1 MB Notification: Performance of Templates: time 0.002783/0.09187, allocations: 0.7931 MB / 0.5114 GB, free: 1.574 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1)