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.0012/0.0012, allocations: 91.61 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.438/1.438, allocations: 223.3 MB / 239 MB, free: 5.613 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.001225/0.001225, allocations: 184.5 kB / 290.3 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03395/0.03395, allocations: 8.804 MB / 350.2 MB, free: 4.766 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003969, allocations: 11.53 kB / 413.2 MB, free: 43.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1054, allocations: 52.56 MB / 465.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002022/0.1075, allocations: 1.473 MB / 467.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008314/0.1084, allocations: 435.2 kB / 467.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.1085, allocations: 0 / 467.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.1086, allocations: 19.91 kB / 467.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.582e-05/0.1087, allocations: 27.77 kB / 467.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.1089, allocations: 15.98 kB / 467.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.109, allocations: 115.5 kB / 467.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.1092, allocations: 33.2 kB / 467.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.938e-05/0.1093, allocations: 39.86 kB / 467.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.116e-05/0.1094, allocations: 39.78 kB / 467.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1094, allocations: 8 kB / 467.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.921e-05/0.1094, allocations: 4 kB / 467.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.1094, allocations: 23.91 kB / 468 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.1095, allocations: 45.64 kB / 468 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1096, allocations: 80.05 kB / 468.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1096, allocations: 0 / 468.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1096, allocations: 0 / 468.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1097, allocations: 3.938 kB / 468.1 MB, free: 11.26 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.0005355/0.1102, allocations: 395 kB / 468.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1102, allocations: 8.031 kB / 468.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.1103, allocations: 19.77 kB / 468.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1105, allocations: 198.9 kB / 468.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1106, allocations: 8 kB / 468.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.1106, allocations: 12 kB / 468.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1108, allocations: 102.5 kB / 468.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1108, allocations: 0 / 468.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.1108, allocations: 7.938 kB / 468.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.1109, allocations: 7.953 kB / 468.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.111, allocations: 63.91 kB / 468.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008329/0.1118, allocations: 0.4942 MB / 469.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.009e-05/0.1119, allocations: 46.5 kB / 469.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.112, allocations: 16.86 kB / 469.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.112, allocations: 4 kB / 469.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.112, allocations: 42.56 kB / 469.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.112, allocations: 0 / 469.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001726/0.1122, allocations: 65.64 kB / 469.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.1122, allocations: 55.39 kB / 469.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.1124, allocations: 135.7 kB / 469.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1124, allocations: 29.7 kB / 469.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.1125, allocations: 120 kB / 469.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.1125, allocations: 23.69 kB / 469.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.1125, allocations: 4 kB / 469.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1126, allocations: 314.8 kB / 470.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.1126, allocations: 12 kB / 470.2 MB, free: 8.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-05/0.1127, allocations: 34.56 kB / 470.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.1127, allocations: 12 kB / 470.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1127, allocations: 4 kB / 470.3 MB, free: 8.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001167/0.1129, allocations: 85.53 kB / 470.4 MB, free: 8.734 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1129, allocations: 4 kB / 470.4 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1129, allocations: 0 / 470.4 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1129, allocations: 4 kB / 470.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.888e-05/0.113, allocations: 19.94 kB / 470.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.113, allocations: 0 / 470.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.1131, allocations: 4 kB / 470.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1131, allocations: 3.938 kB / 470.4 MB, free: 8.699 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 0.0001124/0.1133, allocations: 129.8 kB / 470.5 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.1133, allocations: 7.906 kB / 470.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.1133, allocations: 12.25 kB / 470.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1133, allocations: 0 / 470.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1134, allocations: 7.938 kB / 470.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1134, allocations: 0 / 470.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.1136, allocations: 185.6 kB / 470.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1136, allocations: 4.125 kB / 470.8 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.052e-05/0.1137, allocations: 11.98 kB / 470.8 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.1137, allocations: 4 kB / 470.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1137, allocations: 11.98 kB / 470.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1137, allocations: 0 / 470.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1137, allocations: 0 / 470.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.1139, allocations: 167.3 kB / 470.9 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.114, allocations: 85 kB / 471 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.114, allocations: 4.031 kB / 471 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.1141, allocations: 4 kB / 471 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.1141, allocations: 4.062 kB / 471 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.1141, allocations: 64 / 471 MB, free: 7.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.345e-05/0.1142, allocations: 113 kB / 471.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1142, allocations: 0 / 471.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.1145, allocations: 31.8 kB / 471.2 MB, free: 7.836 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.908e-05/0.1146, allocations: 91.78 kB / 471.3 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.1147, allocations: 39.92 kB / 471.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1147, allocations: 128 / 471.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.492e-05/0.1147, allocations: 16 kB / 471.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.115, allocations: 14.25 kB / 471.3 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.1156, allocations: 335.3 kB / 471.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.1159, allocations: 0.7005 MB / 472.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.034e-05/0.1159, allocations: 4.656 kB / 472.4 MB, free: 6.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.116, allocations: 11.44 kB / 472.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of SimCode: time 1.924e-06/0.116, allocations: 0 / 472.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of Templates: time 0.003001/0.119, allocations: 0.6541 MB / 473 MB, free: 5.93 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: