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.0011/0.0011, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.352/1.352, allocations: 222.9 MB / 239 MB, free: 4.711 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.00124/0.00124, allocations: 192.5 kB / 289.2 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03373/0.03373, allocations: 8.797 MB / 348.2 MB, free: 4.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002364, allocations: 76.7 kB / 410.6 MB, free: 42.31 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1104, allocations: 51.56 MB / 462.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003903/0.1143, allocations: 1.874 MB / 464 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009404/0.1153, allocations: 462.9 kB / 464.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.1155, allocations: 0 / 464.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.1156, allocations: 19.84 kB / 464.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.903e-05/0.1158, allocations: 31.77 kB / 464.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.1159, allocations: 19.98 kB / 464.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1161, allocations: 119.5 kB / 464.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.1163, allocations: 44.95 kB / 464.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.298e-05/0.1164, allocations: 47.8 kB / 464.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.609e-05/0.1165, allocations: 51.77 kB / 464.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.1165, allocations: 19.98 kB / 464.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.284e-05/0.1165, allocations: 8 kB / 464.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.1166, allocations: 23.92 kB / 464.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.1166, allocations: 55.73 kB / 464.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.1168, allocations: 115.9 kB / 465 MB, free: 11.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1168, allocations: 0 / 465 MB, free: 11.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1168, allocations: 0 / 465 MB, free: 11.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1168, allocations: 0 / 465 MB, free: 11.87 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.0005349/0.1174, allocations: 411 kB / 465.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1174, allocations: 16.03 kB / 465.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.1175, allocations: 8.844 kB / 465.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.1177, allocations: 192.2 kB / 465.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1177, allocations: 12.38 kB / 465.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1177, allocations: 8.375 kB / 465.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.1179, allocations: 106.8 kB / 465.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1179, allocations: 0 / 465.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.118, allocations: 8 kB / 465.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.118, allocations: 0 / 465.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1181, allocations: 63.91 kB / 465.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.1189, allocations: 0.4981 MB / 466.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.727e-05/0.119, allocations: 54.5 kB / 466.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.1191, allocations: 16.8 kB / 466.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.1191, allocations: 4 kB / 466.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1191, allocations: 30.56 kB / 466.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1191, allocations: 0 / 466.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001882/0.1193, allocations: 61.72 kB / 466.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.1194, allocations: 59.41 kB / 466.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.1195, allocations: 147.5 kB / 466.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1195, allocations: 25.7 kB / 466.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.1196, allocations: 120 kB / 466.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.1196, allocations: 11.81 kB / 466.8 MB, free: 9.824 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.1197, allocations: 17.72 kB / 466.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1198, allocations: 326.8 kB / 467.2 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.1198, allocations: 12 kB / 467.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.167e-05/0.1199, allocations: 42.56 kB / 467.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.1199, allocations: 46.52 kB / 467.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1199, allocations: 0 / 467.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001147/0.1201, allocations: 77.53 kB / 467.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1201, allocations: 8 kB / 467.4 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1201, allocations: 8.047 kB / 467.4 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1201, allocations: 0 / 467.4 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1202, allocations: 12 kB / 467.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1202, allocations: 4 kB / 467.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.894e-05/0.1203, allocations: 3.938 kB / 467.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1203, allocations: 8 kB / 467.4 MB, free: 9.23 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 8.447e-05/0.1204, allocations: 129.6 kB / 467.5 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.1204, allocations: 8.094 kB / 467.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.1205, allocations: 20.22 kB / 467.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1205, allocations: 4 kB / 467.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1205, allocations: 4.062 kB / 467.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1205, allocations: 0 / 467.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.1208, allocations: 193.6 kB / 467.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1208, allocations: 0 / 467.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.1209, allocations: 12 kB / 467.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1209, allocations: 3.938 kB / 467.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1209, allocations: 0 / 467.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1209, allocations: 0 / 467.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1209, allocations: 4 kB / 467.8 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.1212, allocations: 175.3 kB / 467.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.1212, allocations: 81.02 kB / 468 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.1213, allocations: 0 / 468 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.1214, allocations: 4.031 kB / 468 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.1215, allocations: 3.984 kB / 468 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1215, allocations: 7.938 kB / 468 MB, free: 8.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001/0.1216, allocations: 109.3 kB / 468.1 MB, free: 8.391 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1216, allocations: 4.062 kB / 468.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00044/0.122, allocations: 23.84 kB / 468.2 MB, free: 8.363 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 0.0001152/0.1222, allocations: 95.25 kB / 468.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.1223, allocations: 43.92 kB / 468.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1224, allocations: 0 / 468.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.841e-05/0.1224, allocations: 8 kB / 468.3 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.1229, allocations: 15.92 kB / 468.3 MB, free: 8.195 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008025/0.1237, allocations: 323.3 kB / 468.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1241, allocations: 0.6963 MB / 469.3 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.176e-05/0.1241, allocations: 8.672 kB / 469.3 MB, free: 7.125 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.1242, allocations: 11.44 kB / 469.3 MB, free: 7.113 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1242, allocations: 0 / 469.3 MB, free: 7.113 MB / 302.1 MB Notification: Performance of Templates: time 0.004994/0.1292, allocations: 0.6992 MB / 470 MB, free: 6.426 MB / 302.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)