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.001187/0.001187, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.39/1.39, allocations: 222.9 MB / 239 MB, free: 4.742 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.001627/0.001627, allocations: 188.5 kB / 289.3 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03312/0.03312, allocations: 8.786 MB / 348.2 MB, free: 4.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 79.41 kB / 410.6 MB, free: 42.29 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 51.56 MB / 462.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.002019/0.1074, allocations: 0.5636 MB / 462.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001461/0.1076, allocations: 23.89 kB / 462.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.1076, allocations: 0 / 462.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.1077, allocations: 0 / 462.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.1077, allocations: 7.938 kB / 462.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.1079, allocations: 4 kB / 462.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.558e-05/0.1079, allocations: 19.92 kB / 462.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.354e-05/0.108, allocations: 0 / 462.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.452e-05/0.108, allocations: 15.92 kB / 462.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.101e-05/0.1081, allocations: 4 kB / 462.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1081, allocations: 0 / 462.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.1081, allocations: 0 / 462.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.1081, allocations: 3.984 kB / 462.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.1082, allocations: 11.94 kB / 462.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.651e-05/0.1082, allocations: 7.938 kB / 462.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1082, allocations: 0 / 462.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1082, allocations: 0 / 462.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1083, allocations: 0 / 462.8 MB, free: 14.13 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004012/0.1087, allocations: 327.8 kB / 463.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1087, allocations: 12.03 kB / 463.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.1087, allocations: 0.9375 kB / 463.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.1089, allocations: 168.3 kB / 463.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1089, allocations: 8.312 kB / 463.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1089, allocations: 384 / 463.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.638e-05/0.109, allocations: 34.27 kB / 463.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.109, allocations: 192 / 463.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-06/0.109, allocations: 3.938 kB / 463.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.109, allocations: 0 / 463.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/0.1091, allocations: 15.97 kB / 463.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.1093, allocations: 153.7 kB / 463.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.508e-05/0.1093, allocations: 38.52 kB / 463.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.1094, allocations: 16.94 kB / 463.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.1094, allocations: 3.938 kB / 463.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.1094, allocations: 30.56 kB / 463.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1094, allocations: 4 kB / 463.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001478/0.1096, allocations: 57.53 kB / 463.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1096, allocations: 51.41 kB / 463.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.434e-05/0.1097, allocations: 97.86 kB / 463.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.1097, allocations: 29.64 kB / 463.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.1098, allocations: 80.14 kB / 463.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.1098, allocations: 15.88 kB / 463.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.1098, allocations: 13.72 kB / 463.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.11, allocations: 322.8 kB / 464.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.11, allocations: 0 / 464.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.397e-05/0.11, allocations: 11.92 kB / 464.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.818e-05/0.11, allocations: 20.86 kB / 464.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.11, allocations: 0 / 464.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.34e-05/0.1101, allocations: 49.69 kB / 464.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1101, allocations: 4 kB / 464.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1102, allocations: 3.938 kB / 464.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1102, allocations: 0 / 464.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1103, allocations: 11.94 kB / 464.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.1103, allocations: 4 kB / 464.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.1103, allocations: 7.906 kB / 464.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.1103, allocations: 4 kB / 464.4 MB, free: 12.33 MB / 302.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.445e-05/0.1104, allocations: 113.8 kB / 464.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-06/0.1104, allocations: 0 / 464.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.1105, allocations: 11.44 kB / 464.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1105, allocations: 4 kB / 464.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1105, allocations: 0 / 464.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.1105, allocations: 4 kB / 464.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.1106, allocations: 154.2 kB / 464.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1106, allocations: 0 / 464.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.77e-05/0.1107, allocations: 8 kB / 464.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1107, allocations: 0 / 464.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1107, allocations: 3.938 kB / 464.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1107, allocations: 0 / 464.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1107, allocations: 0 / 464.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.1108, allocations: 85.03 kB / 464.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.1109, allocations: 89.14 kB / 464.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1109, allocations: 3.938 kB / 464.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.787e-05/0.1109, allocations: 0 / 464.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.111, allocations: 0 / 464.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.111, allocations: 4 kB / 464.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.595e-05/0.111, allocations: 83.2 kB / 464.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.111, allocations: 0 / 464.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001849/0.1112, allocations: 8 kB / 464.9 MB, free: 11.67 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (3): * Single equations (assignments): 3 * 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 8.67e-05/0.1113, allocations: 95.25 kB / 465 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.43e-05/0.1114, allocations: 19.94 kB / 465 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1114, allocations: 0 / 465 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.565e-05/0.1114, allocations: 15.92 kB / 465.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.1115, allocations: 2.188 kB / 465.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.1119, allocations: 188.6 kB / 465.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.1122, allocations: 0.6807 MB / 465.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.451e-05/0.1122, allocations: 0 / 465.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.1122, allocations: 7.438 kB / 465.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1122, allocations: 3.938 kB / 465.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of Templates: time 0.001834/0.1141, allocations: 253 kB / 466.2 MB, free: 10.36 MB / 302.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)