Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 102.5 kB / 16.4 MB, free: 6.461 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.423/1.423, allocations: 222.9 MB / 240.1 MB, free: 4.516 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.001562/0.001562, allocations: 180.5 kB / 290.4 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05323/0.05323, allocations: 8.787 MB / 349.3 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 95.84 kB / 464.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1224, allocations: 51.56 MB / 0.504 GB, free: 9.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001945/0.1245, allocations: 0.4906 MB / 0.5045 GB, free: 9.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001816/0.1247, allocations: 19.91 kB / 0.5045 GB, free: 8.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.1247, allocations: 4 kB / 0.5045 GB, free: 8.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.1247, allocations: 0 / 0.5045 GB, free: 8.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.607e-05/0.1248, allocations: 0 / 0.5045 GB, free: 8.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.1249, allocations: 3.938 kB / 0.5045 GB, free: 8.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.8e-05/0.125, allocations: 11.98 kB / 0.5046 GB, free: 8.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.129e-05/0.1251, allocations: 8 kB / 0.5046 GB, free: 8.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.1251, allocations: 3.938 kB / 0.5046 GB, free: 8.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.77e-05/0.1252, allocations: 7.984 kB / 0.5046 GB, free: 8.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1253, allocations: 0 / 0.5046 GB, free: 8.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.1253, allocations: 0 / 0.5046 GB, free: 8.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.1253, allocations: 11.92 kB / 0.5046 GB, free: 8.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.1253, allocations: 4 kB / 0.5046 GB, free: 8.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.601e-05/0.1254, allocations: 7.922 kB / 0.5046 GB, free: 8.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1254, allocations: 0 / 0.5046 GB, free: 8.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1254, allocations: 0 / 0.5046 GB, free: 8.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1254, allocations: 4 kB / 0.5046 GB, free: 8.926 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004312/0.1259, allocations: 323.5 kB / 0.5049 GB, free: 8.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.1259, allocations: 16.02 kB / 0.5049 GB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.126, allocations: 0.9375 kB / 0.5049 GB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.1261, allocations: 160.4 kB / 0.5051 GB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1261, allocations: 4.312 kB / 0.5051 GB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.1262, allocations: 4.375 kB / 0.5051 GB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.1263, allocations: 42.19 kB / 0.5051 GB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1263, allocations: 192 / 0.5051 GB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1263, allocations: 7.938 kB / 0.5051 GB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1263, allocations: 0 / 0.5051 GB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.685e-05/0.1264, allocations: 4 kB / 0.5051 GB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.1266, allocations: 153.7 kB / 0.5053 GB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.648e-05/0.1267, allocations: 46.55 kB / 0.5053 GB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.1267, allocations: 8.859 kB / 0.5053 GB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.1267, allocations: 0 / 0.5053 GB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1268, allocations: 42.56 kB / 0.5054 GB, free: 7.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1268, allocations: 0 / 0.5054 GB, free: 7.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001645/0.1269, allocations: 57.7 kB / 0.5054 GB, free: 7.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.127, allocations: 51.41 kB / 0.5055 GB, free: 7.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.1271, allocations: 97.84 kB / 0.5056 GB, free: 7.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1271, allocations: 29.64 kB / 0.5056 GB, free: 7.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.1271, allocations: 84.14 kB / 0.5057 GB, free: 7.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.1272, allocations: 11.75 kB / 0.5057 GB, free: 7.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.1272, allocations: 21.72 kB / 0.5057 GB, free: 7.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1274, allocations: 322.8 kB / 0.506 GB, free: 7.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.1274, allocations: 0 / 0.506 GB, free: 7.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.409e-05/0.1274, allocations: 8 kB / 0.506 GB, free: 7.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.1275, allocations: 16.86 kB / 0.5061 GB, free: 7.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1275, allocations: 0 / 0.5061 GB, free: 7.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.744e-05/0.1276, allocations: 53.69 kB / 0.5061 GB, free: 7.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1276, allocations: 4 kB / 0.5061 GB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1276, allocations: 3.938 kB / 0.5061 GB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1276, allocations: 4 kB / 0.5061 GB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.928e-05/0.1277, allocations: 15.92 kB / 0.5061 GB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1277, allocations: 0 / 0.5061 GB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.1278, allocations: 0 / 0.5061 GB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.1278, allocations: 4 kB / 0.5061 GB, free: 7.133 MB / 350.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 8.642e-05/0.1279, allocations: 113.8 kB / 0.5062 GB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.1279, allocations: 3.906 kB / 0.5062 GB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.1279, allocations: 7.438 kB / 0.5063 GB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1279, allocations: 8 kB / 0.5063 GB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1279, allocations: 0 / 0.5063 GB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1279, allocations: 0 / 0.5063 GB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.1281, allocations: 153.7 kB / 0.5064 GB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1281, allocations: 0 / 0.5064 GB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-05/0.1281, allocations: 11.98 kB / 0.5064 GB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1282, allocations: 3.938 kB / 0.5064 GB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.1282, allocations: 3.938 kB / 0.5064 GB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1282, allocations: 0 / 0.5064 GB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1282, allocations: 0 / 0.5064 GB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.1283, allocations: 81.06 kB / 0.5065 GB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.1284, allocations: 81.14 kB / 0.5066 GB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.1284, allocations: 4.5 kB / 0.5066 GB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.1284, allocations: 0 / 0.5066 GB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.1284, allocations: 3.984 kB / 0.5066 GB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1284, allocations: 0 / 0.5066 GB, free: 6.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.948e-05/0.1285, allocations: 91.2 kB / 0.5067 GB, free: 6.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1285, allocations: 0 / 0.5067 GB, free: 6.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001714/0.1287, allocations: 4 kB / 0.5067 GB, free: 6.473 MB / 350.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.381e-05/0.1287, allocations: 95.31 kB / 0.5068 GB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.977e-05/0.1289, allocations: 19.98 kB / 0.5068 GB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1289, allocations: 0 / 0.5068 GB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.356e-05/0.1289, allocations: 7.938 kB / 0.5068 GB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.129, allocations: 9.562 kB / 0.5068 GB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.1293, allocations: 135.5 kB / 0.5069 GB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1296, allocations: 0.6844 MB / 0.5076 GB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.1296, allocations: 7.438 kB / 0.5076 GB, free: 5.449 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1296, allocations: 0 / 0.5076 GB, free: 5.449 MB / 350.1 MB Notification: Performance of Templates: time 0.002147/0.1318, allocations: 475.8 kB / 0.5081 GB, free: 4.98 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1)