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.0009165/0.0009165, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.38/1.38, allocations: 223.3 MB / 239 MB, free: 5.434 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.001095/0.001095, allocations: 183.6 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03366/0.03366, allocations: 8.802 MB / 350.2 MB, free: 4.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004008, allocations: 10.44 kB / 413.2 MB, free: 42.97 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1056, allocations: 52.56 MB / 465.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.001968/0.1076, allocations: 1.477 MB / 467.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006476/0.1083, allocations: 439.2 kB / 467.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.137e-05/0.1084, allocations: 4 kB / 467.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.737e-05/0.1085, allocations: 7.922 kB / 467.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.1086, allocations: 31.75 kB / 467.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.1087, allocations: 19.98 kB / 467.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.1089, allocations: 111.5 kB / 467.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.109, allocations: 37.19 kB / 467.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.771e-05/0.1091, allocations: 35.86 kB / 467.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.017e-05/0.1092, allocations: 51.77 kB / 468 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.1092, allocations: 4 kB / 468 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.968e-05/0.1092, allocations: 8 kB / 468 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.1092, allocations: 11.92 kB / 468 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.1093, allocations: 57.58 kB / 468 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.721e-05/0.1094, allocations: 84.03 kB / 468.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1094, allocations: 0 / 468.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1094, allocations: 0 / 468.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1094, allocations: 4 kB / 468.1 MB, free: 11.11 MB / 302.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.0004769/0.1099, allocations: 391 kB / 468.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.11, allocations: 12.03 kB / 468.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.11, allocations: 15.77 kB / 468.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.1102, allocations: 194.9 kB / 468.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1103, allocations: 4 kB / 468.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.1103, allocations: 8 kB / 468.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.1105, allocations: 102.5 kB / 468.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1105, allocations: 0 / 468.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.1105, allocations: 11.92 kB / 468.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1105, allocations: 7.953 kB / 468.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.1107, allocations: 59.92 kB / 468.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000772/0.1115, allocations: 0.4981 MB / 469.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.1116, allocations: 58.5 kB / 469.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.1116, allocations: 16.94 kB / 469.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.1116, allocations: 4 kB / 469.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1117, allocations: 30.56 kB / 469.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1117, allocations: 0 / 469.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001603/0.1118, allocations: 65.55 kB / 469.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.1119, allocations: 51.41 kB / 469.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.112, allocations: 146 kB / 469.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.112, allocations: 29.64 kB / 469.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/0.1121, allocations: 112 kB / 469.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.1121, allocations: 23.73 kB / 469.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-06/0.1121, allocations: 0 / 469.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1122, allocations: 318.8 kB / 470.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.1123, allocations: 11.98 kB / 470.3 MB, free: 8.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.1123, allocations: 30.58 kB / 470.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.1123, allocations: 23.98 kB / 470.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1124, allocations: 0 / 470.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001166/0.1125, allocations: 77.53 kB / 470.4 MB, free: 8.598 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1125, allocations: 5.875 kB / 470.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1125, allocations: 4 kB / 470.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1125, allocations: 0 / 470.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.1126, allocations: 23.89 kB / 470.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1126, allocations: 8 kB / 470.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.1127, allocations: 4 kB / 470.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1127, allocations: 4.156 kB / 470.4 MB, free: 8.551 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.036e-05/0.1128, allocations: 125.8 kB / 470.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.1128, allocations: 7.906 kB / 470.6 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.1128, allocations: 8.25 kB / 470.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1129, allocations: 192 / 470.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.1129, allocations: 3.953 kB / 470.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.1129, allocations: 7.984 kB / 470.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1131, allocations: 193.6 kB / 470.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1131, allocations: 3.938 kB / 470.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.274e-05/0.1132, allocations: 12 kB / 470.8 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1132, allocations: 0 / 470.8 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1132, allocations: 0 / 470.8 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1132, allocations: 0 / 470.8 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1132, allocations: 3.984 kB / 470.8 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.1134, allocations: 171.3 kB / 471 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.1134, allocations: 89.11 kB / 471 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.1134, allocations: 0 / 471 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.1135, allocations: 12.06 kB / 471.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.1136, allocations: 3.984 kB / 471.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.1136, allocations: 0 / 471.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.644e-05/0.1136, allocations: 107.3 kB / 471.2 MB, free: 7.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1136, allocations: 0 / 471.2 MB, free: 7.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.1139, allocations: 31.8 kB / 471.2 MB, free: 7.688 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.407e-05/0.114, allocations: 95.78 kB / 471.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.1141, allocations: 35.92 kB / 471.3 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1141, allocations: 0 / 471.3 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.814e-05/0.1141, allocations: 8 kB / 471.3 MB, free: 7.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.1144, allocations: 11.98 kB / 471.3 MB, free: 7.531 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.1149, allocations: 339.5 kB / 471.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.1152, allocations: 0.7004 MB / 472.4 MB, free: 6.449 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.757e-05/0.1152, allocations: 4.672 kB / 472.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.1152, allocations: 11.44 kB / 472.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of SimCode: time 1.613e-06/0.1152, allocations: 0 / 472.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of Templates: time 0.002566/0.1178, allocations: 0.6524 MB / 473 MB, free: 5.785 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: