Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 239.2 MB, free: 4.621 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.001497/0.001497, allocations: 195.6 kB / 289.6 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03632/0.03632, allocations: 8.801 MB / 348.5 MB, free: 4.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 78.81 kB / 411.1 MB, free: 42.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1058, allocations: 51.58 MB / 462.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.00278/0.1086, allocations: 1.792 MB / 464.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007177/0.1093, allocations: 470.9 kB / 464.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.1094, allocations: 0 / 464.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.1096, allocations: 27.78 kB / 464.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.618e-05/0.1096, allocations: 31.7 kB / 465 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.1098, allocations: 27.97 kB / 465 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1099, allocations: 115.5 kB / 465.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1101, allocations: 44.95 kB / 465.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.291e-05/0.1101, allocations: 43.86 kB / 465.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.3e-05/0.1102, allocations: 55.7 kB / 465.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.1103, allocations: 12 kB / 465.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.115e-05/0.1103, allocations: 12 kB / 465.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.1103, allocations: 23.92 kB / 465.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.1104, allocations: 55.73 kB / 465.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.1105, allocations: 115.9 kB / 465.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1105, allocations: 0 / 465.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1106, allocations: 0 / 465.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1106, allocations: 0 / 465.4 MB, free: 11.53 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.0004967/0.1111, allocations: 413.5 kB / 465.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1111, allocations: 16.03 kB / 465.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.1112, allocations: 8.844 kB / 465.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.1114, allocations: 200.1 kB / 466.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1114, allocations: 8.375 kB / 466.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.1114, allocations: 12.38 kB / 466.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1116, allocations: 102.8 kB / 466.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1116, allocations: 0 / 466.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.1116, allocations: 8 kB / 466.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1116, allocations: 0 / 466.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1118, allocations: 67.91 kB / 466.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007063/0.1125, allocations: 0.4942 MB / 466.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.779e-05/0.1126, allocations: 54.5 kB / 466.8 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.1126, allocations: 16.86 kB / 466.8 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.1126, allocations: 0 / 466.8 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1127, allocations: 38.56 kB / 466.9 MB, free: 9.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1127, allocations: 0 / 466.9 MB, free: 9.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000171/0.1128, allocations: 61.77 kB / 466.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.1129, allocations: 55.41 kB / 467 MB, free: 9.805 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.113, allocations: 147.7 kB / 467.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.113, allocations: 33.58 kB / 467.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.1131, allocations: 124 kB / 467.3 MB, free: 9.484 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.1131, allocations: 7.812 kB / 467.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.1132, allocations: 25.72 kB / 467.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.1133, allocations: 318.8 kB / 467.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/0.1133, allocations: 12 kB / 467.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.1133, allocations: 38.56 kB / 467.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.33e-05/0.1134, allocations: 46.52 kB / 467.7 MB, free: 9.012 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1134, allocations: 0 / 467.7 MB, free: 9.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001124/0.1135, allocations: 81.53 kB / 467.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1136, allocations: 4 kB / 467.8 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1136, allocations: 4.047 kB / 467.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1136, allocations: 8 kB / 467.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.145e-05/0.1137, allocations: 12 kB / 467.8 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1137, allocations: 0 / 467.8 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.1137, allocations: 11.94 kB / 467.8 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.1138, allocations: 0 / 467.8 MB, free: 8.887 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.1138, allocations: 129.6 kB / 468 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.1139, allocations: 7.906 kB / 468 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.1139, allocations: 16.23 kB / 468 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1139, allocations: 4 kB / 468 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1139, allocations: 0 / 468 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1139, allocations: 3.938 kB / 468 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.1141, allocations: 201.5 kB / 468.2 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1141, allocations: 3.938 kB / 468.2 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-05/0.1142, allocations: 8 kB / 468.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1142, allocations: 0 / 468.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1142, allocations: 0 / 468.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1142, allocations: 4 kB / 468.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1142, allocations: 0 / 468.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.1144, allocations: 175.5 kB / 468.4 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.1144, allocations: 81.02 kB / 468.5 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.1145, allocations: 4.031 kB / 468.5 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.1146, allocations: 0 / 468.5 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.1146, allocations: 7.984 kB / 468.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1146, allocations: 4 kB / 468.5 MB, free: 8.152 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.317e-05/0.1147, allocations: 105.1 kB / 468.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.1147, allocations: 64 / 468.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.1149, allocations: 35.78 kB / 468.6 MB, free: 8.016 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.247e-05/0.115, allocations: 95.25 kB / 468.7 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.1151, allocations: 31.98 kB / 468.7 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1151, allocations: 0 / 468.7 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.81e-05/0.1151, allocations: 15.88 kB / 468.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.1154, allocations: 15.92 kB / 468.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.1159, allocations: 283.6 kB / 469 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.1162, allocations: 0.7002 MB / 469.7 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.536e-05/0.1162, allocations: 8.672 kB / 469.8 MB, free: 6.816 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.1162, allocations: 11.44 kB / 469.8 MB, free: 6.805 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1162, allocations: 0 / 469.8 MB, free: 6.805 MB / 302.1 MB Notification: Performance of Templates: time 0.00263/0.1189, allocations: 0.6941 MB / 470.5 MB, free: 6.117 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1)