Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.346/1.346, allocations: 222.9 MB / 240.1 MB, free: 4.566 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.00129/0.00129, allocations: 196.5 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03612/0.03612, allocations: 8.801 MB / 349.3 MB, free: 4.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002692, allocations: 79.88 kB / 464.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1065, allocations: 51.56 MB / 0.504 GB, free: 9.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.0016/0.1081, allocations: 0.5081 MB / 0.5045 GB, free: 9.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001335/0.1083, allocations: 23.89 kB / 0.5046 GB, free: 9.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.1083, allocations: 0 / 0.5046 GB, free: 9.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.1084, allocations: 3.938 kB / 0.5046 GB, free: 9.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.1084, allocations: 0 / 0.5046 GB, free: 9.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.997e-05/0.1085, allocations: 0 / 0.5046 GB, free: 9.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.664e-05/0.1086, allocations: 23.86 kB / 0.5046 GB, free: 9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.1086, allocations: 8 kB / 0.5046 GB, free: 8.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.926e-05/0.1087, allocations: 11.92 kB / 0.5046 GB, free: 8.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.064e-05/0.1087, allocations: 3.984 kB / 0.5046 GB, free: 8.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.1087, allocations: 0 / 0.5046 GB, free: 8.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-06/0.1087, allocations: 4 kB / 0.5046 GB, free: 8.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.1088, allocations: 7.938 kB / 0.5046 GB, free: 8.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.1088, allocations: 4 kB / 0.5046 GB, free: 8.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.194e-05/0.1088, allocations: 7.938 kB / 0.5046 GB, free: 8.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1089, allocations: 0 / 0.5046 GB, free: 8.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1089, allocations: 0 / 0.5046 GB, free: 8.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1089, allocations: 0 / 0.5046 GB, free: 8.953 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.0003226/0.1092, allocations: 331.5 kB / 0.505 GB, free: 8.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1093, allocations: 8.031 kB / 0.505 GB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.1093, allocations: 0.9375 kB / 0.505 GB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1094, allocations: 172.3 kB / 0.5051 GB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1094, allocations: 384 / 0.5051 GB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.1094, allocations: 384 / 0.5051 GB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.038e-05/0.1095, allocations: 34.27 kB / 0.5052 GB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1095, allocations: 192 / 0.5052 GB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1096, allocations: 15.86 kB / 0.5052 GB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1096, allocations: 4 kB / 0.5052 GB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.494e-05/0.1096, allocations: 7.984 kB / 0.5052 GB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.1098, allocations: 153.7 kB / 0.5053 GB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.162e-05/0.1098, allocations: 34.58 kB / 0.5054 GB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.1099, allocations: 12.94 kB / 0.5054 GB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.1099, allocations: 4 kB / 0.5054 GB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1099, allocations: 46.5 kB / 0.5054 GB, free: 7.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1099, allocations: 0 / 0.5054 GB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001295/0.1101, allocations: 49.62 kB / 0.5055 GB, free: 7.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.1101, allocations: 55.34 kB / 0.5055 GB, free: 7.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.582e-05/0.1102, allocations: 97.84 kB / 0.5056 GB, free: 7.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.1102, allocations: 29.64 kB / 0.5056 GB, free: 7.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.1102, allocations: 92.12 kB / 0.5057 GB, free: 7.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.1102, allocations: 7.812 kB / 0.5057 GB, free: 7.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.1103, allocations: 21.72 kB / 0.5058 GB, free: 7.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1104, allocations: 310.8 kB / 0.5061 GB, free: 7.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.1104, allocations: 11.98 kB / 0.5061 GB, free: 7.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.1104, allocations: 8 kB / 0.5061 GB, free: 7.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.719e-05/0.1105, allocations: 20.8 kB / 0.5061 GB, free: 7.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1105, allocations: 0 / 0.5061 GB, free: 7.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.221e-05/0.1106, allocations: 45.69 kB / 0.5061 GB, free: 7.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1106, allocations: 4 kB / 0.5061 GB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1106, allocations: 0 / 0.5061 GB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1106, allocations: 11.94 kB / 0.5062 GB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/0.1107, allocations: 4 kB / 0.5062 GB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.1107, allocations: 4 kB / 0.5062 GB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.1107, allocations: 0 / 0.5062 GB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.1107, allocations: 0 / 0.5062 GB, free: 7.16 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 (4): * Single equations (assignments): 4 * 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.864e-05/0.1108, allocations: 117.8 kB / 0.5063 GB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1108, allocations: 7.906 kB / 0.5063 GB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.1109, allocations: 11.38 kB / 0.5063 GB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.1109, allocations: 0 / 0.5063 GB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1109, allocations: 4 kB / 0.5063 GB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.1109, allocations: 77.11 kB / 0.5064 GB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1109, allocations: 4.516 kB / 0.5064 GB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.845e-05/0.1109, allocations: 0 / 0.5064 GB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.111, allocations: 7.984 kB / 0.5064 GB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001562/0.1111, allocations: 125 kB / 0.5065 GB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001608/0.1113, allocations: 230.7 kB / 0.5067 GB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.273e-05/0.1113, allocations: 8.016 kB / 0.5067 GB, free: 6.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.032e-05/0.1114, allocations: 83.28 kB / 0.5068 GB, free: 6.441 MB / 350.1 MB Notification: Performance of Backend: time 3.5e-07/0.1114, allocations: 0 / 0.5068 GB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.1117, allocations: 82.39 kB / 0.5069 GB, free: 6.352 MB / 350.1 MB Notification: Performance of SimCode: time 0.0004765/0.1122, allocations: 0.6228 MB / 0.5075 GB, free: 5.68 MB / 350.1 MB Notification: Performance of Templates: time 0.002013/0.1142, allocations: 308.9 kB / 0.5078 GB, free: 5.379 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1)