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.001571/0.001571, allocations: 112.1 kB / 16.42 MB, free: 6.504 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.408/1.408, allocations: 222.9 MB / 240.1 MB, free: 4.574 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.00125/0.00125, allocations: 188.5 kB / 290.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03462/0.03462, allocations: 8.79 MB / 349.3 MB, free: 4.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 79.88 kB / 464.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.099/0.1004, allocations: 51.55 MB / 0.5041 GB, free: 9.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003232/0.1037, allocations: 1.818 MB / 0.5058 GB, free: 7.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009356/0.1047, allocations: 470.8 kB / 0.5063 GB, free: 7.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1048, allocations: 3.938 kB / 0.5063 GB, free: 7.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.1049, allocations: 15.84 kB / 0.5063 GB, free: 7.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.1051, allocations: 31.7 kB / 0.5063 GB, free: 7.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.1052, allocations: 23.97 kB / 0.5064 GB, free: 7.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.1054, allocations: 119.5 kB / 0.5065 GB, free: 7.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1056, allocations: 49.09 kB / 0.5065 GB, free: 7.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.825e-05/0.1057, allocations: 47.8 kB / 0.5066 GB, free: 6.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1058, allocations: 51.78 kB / 0.5066 GB, free: 6.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.1058, allocations: 8 kB / 0.5066 GB, free: 6.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.287e-05/0.1058, allocations: 12 kB / 0.5066 GB, free: 6.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.1059, allocations: 19.92 kB / 0.5066 GB, free: 6.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.106, allocations: 59.67 kB / 0.5067 GB, free: 6.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.1061, allocations: 123.6 kB / 0.5068 GB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1061, allocations: 0 / 0.5068 GB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.1062, allocations: 0 / 0.5068 GB, free: 6.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1062, allocations: 0 / 0.5068 GB, free: 6.719 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.0005748/0.1067, allocations: 411.1 kB / 0.5072 GB, free: 6.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1068, allocations: 8.031 kB / 0.5072 GB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.1069, allocations: 20.78 kB / 0.5072 GB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1071, allocations: 184.2 kB / 0.5074 GB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1072, allocations: 16.31 kB / 0.5074 GB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.1072, allocations: 12.38 kB / 0.5074 GB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.1074, allocations: 106 kB / 0.5075 GB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1074, allocations: 0 / 0.5075 GB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1074, allocations: 4 kB / 0.5075 GB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1075, allocations: 4 kB / 0.5076 GB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.1076, allocations: 59.92 kB / 0.5076 GB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/0.1084, allocations: 0.502 MB / 0.5081 GB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.318e-05/0.1085, allocations: 46.56 kB / 0.5081 GB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.1085, allocations: 20.94 kB / 0.5082 GB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.1085, allocations: 0 / 0.5082 GB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.1086, allocations: 38.56 kB / 0.5082 GB, free: 5.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1086, allocations: 0 / 0.5082 GB, free: 5.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001661/0.1087, allocations: 65.53 kB / 0.5083 GB, free: 5.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.1088, allocations: 55.41 kB / 0.5083 GB, free: 4.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1089, allocations: 139 kB / 0.5084 GB, free: 4.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1089, allocations: 29.7 kB / 0.5085 GB, free: 4.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.109, allocations: 123.9 kB / 0.5086 GB, free: 4.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.688e-06/0.109, allocations: 3.906 kB / 0.5086 GB, free: 4.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.1091, allocations: 33.62 kB / 0.5086 GB, free: 4.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1092, allocations: 318.8 kB / 0.5089 GB, free: 4.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.1092, allocations: 12 kB / 0.5089 GB, free: 4.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.943e-05/0.1093, allocations: 30.56 kB / 0.509 GB, free: 4.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.525e-05/0.1093, allocations: 50.45 kB / 0.509 GB, free: 4.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1093, allocations: 4 kB / 0.509 GB, free: 4.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001236/0.1095, allocations: 77.62 kB / 0.5091 GB, free: 4.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1095, allocations: 4 kB / 0.5091 GB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1095, allocations: 0 / 0.5091 GB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1095, allocations: 4 kB / 0.5091 GB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1096, allocations: 15.98 kB / 0.5091 GB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1096, allocations: 0 / 0.5091 GB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.1097, allocations: 15.84 kB / 0.5091 GB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1097, allocations: 0 / 0.5091 GB, free: 4.086 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 9.132e-05/0.1098, allocations: 129.7 kB / 0.5093 GB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.1098, allocations: 11.84 kB / 0.5093 GB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.1099, allocations: 16.23 kB / 0.5093 GB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1099, allocations: 0 / 0.5093 GB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1099, allocations: 0 / 0.5093 GB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.11, allocations: 85.02 kB / 0.5094 GB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.11, allocations: 0 / 0.5094 GB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.1101, allocations: 4 kB / 0.5094 GB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.1101, allocations: 11.92 kB / 0.5094 GB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000187/0.1103, allocations: 137 kB / 0.5095 GB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000197/0.1105, allocations: 242.7 kB / 0.5097 GB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.61e-05/0.1105, allocations: 12.09 kB / 0.5098 GB, free: 3.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.989e-05/0.1106, allocations: 109 kB / 0.5099 GB, free: 3.285 MB / 350.1 MB Notification: Performance of Backend: time 4.81e-07/0.1106, allocations: 0 / 0.5099 GB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.111, allocations: 116.8 kB / 0.51 GB, free: 3.168 MB / 350.1 MB Notification: Performance of SimCode: time 0.000736/0.1117, allocations: 0.723 MB / 0.5107 GB, free: 2.395 MB / 350.1 MB Notification: Performance of Templates: time 0.003146/0.1149, allocations: 0.817 MB / 0.5115 GB, free: 1.586 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)