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.001172/0.001172, allocations: 119.1 kB / 16.37 MB, free: 6.004 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.522/1.522, allocations: 222.9 MB / 240 MB, free: 4.488 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.001466/0.001466, allocations: 188.2 kB / 290.3 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03463/0.03463, allocations: 8.781 MB / 349.3 MB, free: 4.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001619, allocations: 79.91 kB / 412.5 MB, free: 41.7 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1224, allocations: 51.57 MB / 464.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001818/0.1243, allocations: 0.4933 MB / 464.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001439/0.1244, allocations: 31.88 kB / 464.6 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.1245, allocations: 0 / 464.6 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.1245, allocations: 3.938 kB / 464.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/0.1246, allocations: 0 / 464.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.1247, allocations: 8 kB / 464.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.479e-05/0.1247, allocations: 19.86 kB / 464.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.918e-05/0.1248, allocations: 3.938 kB / 464.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.195e-05/0.1248, allocations: 4 kB / 464.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.1249, allocations: 11.94 kB / 464.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.1249, allocations: 0 / 464.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.1249, allocations: 0 / 464.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.125, allocations: 7.969 kB / 464.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.125, allocations: 4 kB / 464.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.161e-05/0.1251, allocations: 7.938 kB / 464.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1251, allocations: 0 / 464.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1251, allocations: 4 kB / 464.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1251, allocations: 0 / 464.7 MB, free: 12.92 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.000389/0.1255, allocations: 331.5 kB / 465 MB, free: 12.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1255, allocations: 8.031 kB / 465 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.1256, allocations: 0.9375 kB / 465 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.1257, allocations: 176.3 kB / 465.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1257, allocations: 384 / 465.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.1258, allocations: 4.375 kB / 465.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.237e-05/0.1259, allocations: 30.27 kB / 465.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1259, allocations: 4.188 kB / 465.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1259, allocations: 3.938 kB / 465.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1259, allocations: 4 kB / 465.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.546e-05/0.1259, allocations: 15.92 kB / 465.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.1261, allocations: 153.7 kB / 465.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.471e-05/0.1262, allocations: 30.58 kB / 465.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.1262, allocations: 16.94 kB / 465.5 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.1262, allocations: 4 kB / 465.5 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1263, allocations: 38.5 kB / 465.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1263, allocations: 0 / 465.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001581/0.1264, allocations: 61.45 kB / 465.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.1265, allocations: 51.41 kB / 465.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.909e-05/0.1265, allocations: 97.8 kB / 465.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1266, allocations: 29.7 kB / 465.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.1266, allocations: 84.14 kB / 465.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1267, allocations: 11.89 kB / 465.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.1267, allocations: 17.72 kB / 465.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1268, allocations: 310.8 kB / 466.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.1268, allocations: 8 kB / 466.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.1269, allocations: 7.984 kB / 466.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.932e-05/0.1269, allocations: 20.8 kB / 466.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1269, allocations: 0 / 466.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.228e-05/0.127, allocations: 45.69 kB / 466.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.127, allocations: 10.19 kB / 466.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.127, allocations: 3.938 kB / 466.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.127, allocations: 0 / 466.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.1271, allocations: 8 kB / 466.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1271, allocations: 0 / 466.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.1272, allocations: 7.906 kB / 466.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1272, allocations: 4 kB / 466.3 MB, free: 11.13 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 7.88e-05/0.1273, allocations: 117.8 kB / 466.4 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.1273, allocations: 4 kB / 466.4 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.1273, allocations: 11.44 kB / 466.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1273, allocations: 0 / 466.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1273, allocations: 0 / 466.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1273, allocations: 3.938 kB / 466.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.1275, allocations: 157.7 kB / 466.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1275, allocations: 0 / 466.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.1275, allocations: 8 kB / 466.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1275, allocations: 0 / 466.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1276, allocations: 3.938 kB / 466.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1276, allocations: 4 kB / 466.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1276, allocations: 0 / 466.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.1277, allocations: 81.11 kB / 466.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.1278, allocations: 88.98 kB / 466.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.1278, allocations: 4.5 kB / 466.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.788e-05/0.1278, allocations: 4 kB / 466.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.1278, allocations: 4.031 kB / 466.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.1278, allocations: 0 / 466.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.93e-05/0.1279, allocations: 83.25 kB / 466.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1279, allocations: 12 kB / 466.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001768/0.1281, allocations: 4 kB / 466.8 MB, free: 10.45 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.143e-05/0.1282, allocations: 91.25 kB / 466.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.581e-05/0.1283, allocations: 12 kB / 466.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1283, allocations: 3.938 kB / 466.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-05/0.1283, allocations: 11.98 kB / 467 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1284, allocations: 4 kB / 467 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.1288, allocations: 180.4 kB / 467.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.1291, allocations: 0.6768 MB / 467.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.706e-05/0.1292, allocations: 0 / 467.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.1292, allocations: 15.44 kB / 467.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1292, allocations: 0 / 467.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of Templates: time 0.002104/0.1313, allocations: 253.4 kB / 468.1 MB, free: 9.152 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 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1)