Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 111.7 kB / 16.42 MB, free: 6.457 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.383/1.383, allocations: 222.9 MB / 240.1 MB, free: 4.508 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.002133/0.002133, allocations: 188.5 kB / 290.4 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03629/0.03629, allocations: 8.805 MB / 349.3 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 71.88 kB / 464.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.08719, allocations: 51.56 MB / 0.5041 GB, free: 9.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002776/0.09, allocations: 1.82 MB / 0.5058 GB, free: 7.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006722/0.09069, allocations: 470.8 kB / 0.5063 GB, free: 7.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/0.09077, allocations: 4 kB / 0.5063 GB, free: 7.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.09088, allocations: 11.86 kB / 0.5063 GB, free: 7.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.016e-05/0.09096, allocations: 31.72 kB / 0.5063 GB, free: 7.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.0911, allocations: 27.91 kB / 0.5064 GB, free: 7.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.09127, allocations: 123.4 kB / 0.5065 GB, free: 6.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.09141, allocations: 45.11 kB / 0.5065 GB, free: 6.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.933e-05/0.09147, allocations: 43.86 kB / 0.5066 GB, free: 6.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.552e-05/0.09157, allocations: 55.7 kB / 0.5066 GB, free: 6.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.0916, allocations: 12 kB / 0.5066 GB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.121e-05/0.09163, allocations: 12 kB / 0.5066 GB, free: 6.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.09166, allocations: 19.92 kB / 0.5067 GB, free: 6.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.044e-05/0.09173, allocations: 63.72 kB / 0.5067 GB, free: 6.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.09188, allocations: 115.6 kB / 0.5068 GB, free: 6.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.09189, allocations: 0 / 0.5068 GB, free: 6.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.0919, allocations: 0 / 0.5068 GB, free: 6.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.09191, allocations: 3.938 kB / 0.5068 GB, free: 6.625 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.0005013/0.09241, allocations: 407.1 kB / 0.5072 GB, free: 6.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.09245, allocations: 8.031 kB / 0.5072 GB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.0925, allocations: 12.84 kB / 0.5072 GB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.09273, allocations: 204.1 kB / 0.5074 GB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.09275, allocations: 8.375 kB / 0.5074 GB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.09279, allocations: 12.38 kB / 0.5075 GB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.09298, allocations: 102 kB / 0.5076 GB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.093, allocations: 0 / 0.5076 GB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.09302, allocations: 4 kB / 0.5076 GB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.09303, allocations: 4 kB / 0.5076 GB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.09316, allocations: 63.91 kB / 0.5076 GB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007496/0.09391, allocations: 0.4904 MB / 0.5081 GB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.669e-05/0.09401, allocations: 58.42 kB / 0.5082 GB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.09405, allocations: 16.86 kB / 0.5082 GB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.513e-06/0.09406, allocations: 0 / 0.5082 GB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.09409, allocations: 38.56 kB / 0.5082 GB, free: 5.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.0941, allocations: 0 / 0.5082 GB, free: 5.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001657/0.09427, allocations: 61.69 kB / 0.5083 GB, free: 4.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.0943, allocations: 59.39 kB / 0.5083 GB, free: 4.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.09442, allocations: 139.2 kB / 0.5085 GB, free: 4.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.09445, allocations: 29.7 kB / 0.5085 GB, free: 4.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.09451, allocations: 119.9 kB / 0.5086 GB, free: 4.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.257e-06/0.09453, allocations: 3.906 kB / 0.5086 GB, free: 4.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.09458, allocations: 37.61 kB / 0.5086 GB, free: 4.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.09469, allocations: 310.8 kB / 0.5089 GB, free: 4.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.93e-05/0.09472, allocations: 19.92 kB / 0.509 GB, free: 4.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.09476, allocations: 30.58 kB / 0.509 GB, free: 4.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.449e-05/0.09483, allocations: 50.5 kB / 0.509 GB, free: 4.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.09484, allocations: 4 kB / 0.509 GB, free: 4.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001247/0.09497, allocations: 77.62 kB / 0.5091 GB, free: 4.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.09499, allocations: 4 kB / 0.5091 GB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.095, allocations: 0 / 0.5091 GB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.09502, allocations: 7.938 kB / 0.5091 GB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.158e-05/0.09512, allocations: 12.06 kB / 0.5091 GB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.09513, allocations: 4 kB / 0.5091 GB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.09519, allocations: 19.78 kB / 0.5092 GB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.0952, allocations: 0 / 0.5092 GB, free: 3.988 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.048e-05/0.09529, allocations: 129.8 kB / 0.5093 GB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.09532, allocations: 7.906 kB / 0.5093 GB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.09536, allocations: 12.25 kB / 0.5093 GB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.09536, allocations: 0 / 0.5093 GB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.09537, allocations: 0 / 0.5093 GB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.09542, allocations: 85.02 kB / 0.5094 GB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.09544, allocations: 3.984 kB / 0.5094 GB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-05/0.09553, allocations: 4 kB / 0.5094 GB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.09556, allocations: 11.94 kB / 0.5094 GB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001586/0.09572, allocations: 132.9 kB / 0.5095 GB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001698/0.0959, allocations: 238.7 kB / 0.5098 GB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.655e-05/0.09594, allocations: 16.02 kB / 0.5098 GB, free: 3.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.488e-05/0.09601, allocations: 108.8 kB / 0.5099 GB, free: 3.195 MB / 350.1 MB Notification: Performance of Backend: time 2.91e-07/0.09601, allocations: 0 / 0.5099 GB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.09635, allocations: 104.5 kB / 0.51 GB, free: 3.09 MB / 350.1 MB Notification: Performance of SimCode: time 0.0007031/0.09707, allocations: 0.7347 MB / 0.5107 GB, free: 2.305 MB / 350.1 MB Notification: Performance of Templates: time 0.002955/0.1, allocations: 0.7993 MB / 0.5115 GB, free: 1.512 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1)