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.001396/0.001396, allocations: 113.9 kB / 16.41 MB, free: 6.484 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.485/1.485, allocations: 222.9 MB / 240.1 MB, free: 4.383 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.001744/0.001744, allocations: 200.4 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03405/0.03405, allocations: 8.804 MB / 349.3 MB, free: 4.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 79.86 kB / 464.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1167, allocations: 51.56 MB / 0.5041 GB, free: 9.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003281/0.1201, allocations: 1.82 MB / 0.5058 GB, free: 7.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.121, allocations: 462.8 kB / 0.5063 GB, free: 7.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.1211, allocations: 4 kB / 0.5063 GB, free: 7.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.1213, allocations: 15.8 kB / 0.5063 GB, free: 7.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.1214, allocations: 35.69 kB / 0.5063 GB, free: 7.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.1216, allocations: 23.97 kB / 0.5063 GB, free: 7.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.1218, allocations: 123.5 kB / 0.5065 GB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.122, allocations: 53.08 kB / 0.5065 GB, free: 6.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/0.1221, allocations: 47.8 kB / 0.5066 GB, free: 6.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.936e-05/0.1222, allocations: 43.78 kB / 0.5066 GB, free: 6.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.1222, allocations: 12 kB / 0.5066 GB, free: 6.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.31e-05/0.1222, allocations: 8 kB / 0.5066 GB, free: 6.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.1223, allocations: 23.92 kB / 0.5066 GB, free: 6.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.1224, allocations: 59.73 kB / 0.5067 GB, free: 6.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1225, allocations: 119.6 kB / 0.5068 GB, free: 6.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1226, allocations: 0 / 0.5068 GB, free: 6.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1226, allocations: 0 / 0.5068 GB, free: 6.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1226, allocations: 0 / 0.5068 GB, free: 6.621 MB / 350.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.0005938/0.1232, allocations: 417.4 kB / 0.5072 GB, free: 6.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1232, allocations: 12.02 kB / 0.5072 GB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.1233, allocations: 16.84 kB / 0.5072 GB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.1236, allocations: 192.2 kB / 0.5074 GB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1236, allocations: 12.31 kB / 0.5074 GB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.1237, allocations: 12.38 kB / 0.5074 GB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.1239, allocations: 106 kB / 0.5075 GB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1239, allocations: 3.938 kB / 0.5076 GB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1239, allocations: 0 / 0.5076 GB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1239, allocations: 4 kB / 0.5076 GB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.124, allocations: 59.97 kB / 0.5076 GB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.1249, allocations: 0.4904 MB / 0.5081 GB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.125, allocations: 54.5 kB / 0.5081 GB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.674e-05/0.125, allocations: 20.94 kB / 0.5082 GB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.125, allocations: 0 / 0.5082 GB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.1251, allocations: 34.56 kB / 0.5082 GB, free: 5.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1251, allocations: 0 / 0.5082 GB, free: 5.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001841/0.1253, allocations: 61.59 kB / 0.5083 GB, free: 4.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.1253, allocations: 59.34 kB / 0.5083 GB, free: 4.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1254, allocations: 143.2 kB / 0.5084 GB, free: 4.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1255, allocations: 25.7 kB / 0.5085 GB, free: 4.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.1255, allocations: 119.9 kB / 0.5086 GB, free: 4.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.1256, allocations: 11.89 kB / 0.5086 GB, free: 4.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.1256, allocations: 29.62 kB / 0.5086 GB, free: 4.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1257, allocations: 322.8 kB / 0.5089 GB, free: 4.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.1258, allocations: 12 kB / 0.5089 GB, free: 4.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.213e-05/0.1258, allocations: 30.56 kB / 0.509 GB, free: 4.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.808e-05/0.1259, allocations: 46.52 kB / 0.509 GB, free: 4.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1259, allocations: 4 kB / 0.509 GB, free: 4.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000127/0.126, allocations: 81.62 kB / 0.5091 GB, free: 4.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1261, allocations: 4 kB / 0.5091 GB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1261, allocations: 0 / 0.5091 GB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1261, allocations: 4 kB / 0.5091 GB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1262, allocations: 15.98 kB / 0.5091 GB, free: 4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1262, allocations: 0 / 0.5091 GB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.1263, allocations: 11.84 kB / 0.5091 GB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1263, allocations: 3.938 kB / 0.5091 GB, free: 3.984 MB / 350.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.714e-05/0.1264, allocations: 125.8 kB / 0.5093 GB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.1264, allocations: 8.094 kB / 0.5093 GB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.1264, allocations: 16.23 kB / 0.5093 GB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1265, allocations: 3.938 kB / 0.5093 GB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1265, allocations: 0 / 0.5093 GB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1265, allocations: 3.984 kB / 0.5093 GB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.1267, allocations: 201.6 kB / 0.5095 GB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1267, allocations: 0 / 0.5095 GB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.935e-05/0.1268, allocations: 11.98 kB / 0.5095 GB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1268, allocations: 7.938 kB / 0.5095 GB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1268, allocations: 4 kB / 0.5095 GB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1268, allocations: 0 / 0.5095 GB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1268, allocations: 0 / 0.5095 GB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.127, allocations: 163.4 kB / 0.5097 GB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.127, allocations: 89.03 kB / 0.5097 GB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.127, allocations: 4 kB / 0.5097 GB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.1271, allocations: 64 / 0.5097 GB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.1272, allocations: 8 kB / 0.5098 GB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1272, allocations: 3.938 kB / 0.5098 GB, free: 3.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.118e-05/0.1273, allocations: 109.6 kB / 0.5099 GB, free: 3.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1273, allocations: 0 / 0.5099 GB, free: 3.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1275, allocations: 31.84 kB / 0.5099 GB, free: 3.109 MB / 350.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 9.191e-05/0.1276, allocations: 91.25 kB / 0.51 GB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.1277, allocations: 31.98 kB / 0.51 GB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1277, allocations: 4.125 kB / 0.51 GB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/0.1278, allocations: 15.94 kB / 0.51 GB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.128, allocations: 9.625 kB / 0.51 GB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.1286, allocations: 312.8 kB / 0.5103 GB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.1289, allocations: 0.7002 MB / 0.511 GB, free: 1.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.1289, allocations: 11.44 kB / 0.511 GB, free: 1.875 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1289, allocations: 0 / 0.511 GB, free: 1.875 MB / 350.1 MB Notification: Performance of Templates: time 0.002738/0.1317, allocations: 1.103 MB / 0.5121 GB, free: 0.7695 MB / 350.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)