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.006728/0.006728, allocations: 106.1 kB / 15.73 MB, free: 6.047 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.446/1.446, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001246/0.001246, allocations: 192.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03448/0.03448, allocations: 8.78 MB / 348.6 MB, free: 4.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 79.88 kB / 463.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1148, allocations: 51.57 MB / 0.5034 GB, free: 9.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003069/0.1179, allocations: 1.815 MB / 0.5052 GB, free: 7.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008156/0.1188, allocations: 462.8 kB / 0.5056 GB, free: 7.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1189, allocations: 0 / 0.5056 GB, free: 7.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.1191, allocations: 27.78 kB / 0.5056 GB, free: 7.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.907e-05/0.1192, allocations: 31.7 kB / 0.5057 GB, free: 7.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.1193, allocations: 23.97 kB / 0.5057 GB, free: 7.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.1195, allocations: 119.5 kB / 0.5058 GB, free: 7.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.1197, allocations: 49.09 kB / 0.5058 GB, free: 7.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.1197, allocations: 43.86 kB / 0.5059 GB, free: 7.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1198, allocations: 59.7 kB / 0.5059 GB, free: 7.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.1199, allocations: 8 kB / 0.5059 GB, free: 7.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.486e-05/0.1199, allocations: 12 kB / 0.506 GB, free: 6.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.1199, allocations: 19.92 kB / 0.506 GB, free: 6.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.113e-05/0.12, allocations: 55.73 kB / 0.506 GB, free: 6.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.1202, allocations: 119.6 kB / 0.5061 GB, free: 6.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1202, allocations: 0 / 0.5061 GB, free: 6.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1202, allocations: 0 / 0.5061 GB, free: 6.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1202, allocations: 3.938 kB / 0.5062 GB, free: 6.801 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.0005649/0.1208, allocations: 415.1 kB / 0.5065 GB, free: 6.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.1209, allocations: 8.031 kB / 0.5066 GB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.1209, allocations: 12.84 kB / 0.5066 GB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.1212, allocations: 192.2 kB / 0.5067 GB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1213, allocations: 12.38 kB / 0.5068 GB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.1213, allocations: 8.375 kB / 0.5068 GB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.1215, allocations: 106 kB / 0.5069 GB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1216, allocations: 4 kB / 0.5069 GB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.1216, allocations: 8 kB / 0.5069 GB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1216, allocations: 3.938 kB / 0.5069 GB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.1217, allocations: 55.98 kB / 0.5069 GB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009473/0.1227, allocations: 0.4943 MB / 0.5074 GB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.1228, allocations: 46.52 kB / 0.5075 GB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.1229, allocations: 24.88 kB / 0.5075 GB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1229, allocations: 0 / 0.5075 GB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1229, allocations: 34.56 kB / 0.5075 GB, free: 5.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1229, allocations: 4 kB / 0.5075 GB, free: 5.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002114/0.1232, allocations: 65.59 kB / 0.5076 GB, free: 5.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.1232, allocations: 55.41 kB / 0.5076 GB, free: 5.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.1234, allocations: 143.1 kB / 0.5078 GB, free: 4.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.1234, allocations: 29.7 kB / 0.5078 GB, free: 4.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.1235, allocations: 123.9 kB / 0.5079 GB, free: 4.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.1235, allocations: 7.906 kB / 0.5079 GB, free: 4.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.1236, allocations: 21.62 kB / 0.508 GB, free: 4.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1237, allocations: 326.8 kB / 0.5083 GB, free: 4.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.064e-05/0.1238, allocations: 8 kB / 0.5083 GB, free: 4.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.344e-05/0.1238, allocations: 46.55 kB / 0.5083 GB, free: 4.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.699e-05/0.1239, allocations: 50.52 kB / 0.5084 GB, free: 4.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1239, allocations: 0 / 0.5084 GB, free: 4.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001373/0.1241, allocations: 73.62 kB / 0.5084 GB, free: 4.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1241, allocations: 4 kB / 0.5084 GB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1241, allocations: 8.062 kB / 0.5084 GB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1241, allocations: 0 / 0.5084 GB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1243, allocations: 15.98 kB / 0.5085 GB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1243, allocations: 0 / 0.5085 GB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.1243, allocations: 19.78 kB / 0.5085 GB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1244, allocations: 4.188 kB / 0.5085 GB, free: 4.152 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 0.0001196/0.1245, allocations: 121.7 kB / 0.5086 GB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.1245, allocations: 7.906 kB / 0.5086 GB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.1246, allocations: 16.22 kB / 0.5086 GB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1246, allocations: 4 kB / 0.5086 GB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.1246, allocations: 4 kB / 0.5086 GB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1246, allocations: 0 / 0.5086 GB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.1248, allocations: 193.5 kB / 0.5088 GB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1249, allocations: 4 kB / 0.5088 GB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.75e-05/0.1249, allocations: 11.98 kB / 0.5088 GB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1249, allocations: 0 / 0.5088 GB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.125, allocations: 0 / 0.5088 GB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.125, allocations: 0 / 0.5088 GB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.125, allocations: 64 / 0.5088 GB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1252, allocations: 171.4 kB / 0.509 GB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.1253, allocations: 89.03 kB / 0.5091 GB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.1253, allocations: 0 / 0.5091 GB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.1254, allocations: 4 kB / 0.5091 GB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.1254, allocations: 0 / 0.5091 GB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1254, allocations: 3.938 kB / 0.5091 GB, free: 3.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.837e-05/0.1255, allocations: 116.7 kB / 0.5092 GB, free: 3.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1255, allocations: 8 kB / 0.5092 GB, free: 3.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1258, allocations: 23.84 kB / 0.5092 GB, free: 3.289 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001139/0.1259, allocations: 95.25 kB / 0.5093 GB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.1261, allocations: 31.98 kB / 0.5093 GB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1261, allocations: 0 / 0.5093 GB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.28e-05/0.1261, allocations: 15.94 kB / 0.5094 GB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.1264, allocations: 13.81 kB / 0.5094 GB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005833/0.1269, allocations: 283.1 kB / 0.5096 GB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1273, allocations: 0.7001 MB / 0.5103 GB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.788e-05/0.1274, allocations: 8.656 kB / 0.5103 GB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.1274, allocations: 11.44 kB / 0.5104 GB, free: 2.078 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1274, allocations: 0 / 0.5104 GB, free: 2.078 MB / 350.1 MB Notification: Performance of Templates: time 0.003075/0.1305, allocations: 0.7076 MB / 0.511 GB, free: 1.379 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)