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.001133/0.001133, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.505/1.505, allocations: 223.2 MB / 238.9 MB, free: 5.68 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.001431/0.001431, allocations: 192.2 kB / 290.2 MB, free: 2.367 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03539/0.03539, allocations: 8.792 MB / 350.1 MB, free: 4.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003911, allocations: 8.938 kB / 413.1 MB, free: 43.15 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1208, allocations: 52.56 MB / 465.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.0006752/0.1215, allocations: 226.2 kB / 465.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001406/0.1216, allocations: 27.97 kB / 465.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.1217, allocations: 0 / 465.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.21e-05/0.1217, allocations: 0 / 465.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.535e-05/0.1218, allocations: 3.938 kB / 465.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.777e-05/0.1219, allocations: 0 / 465.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.518e-05/0.1219, allocations: 19.97 kB / 465.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.122, allocations: 0 / 465.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.921e-05/0.122, allocations: 8 kB / 465.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.1221, allocations: 7.922 kB / 465.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1221, allocations: 4 kB / 465.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.248e-06/0.1221, allocations: 0 / 465.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.1221, allocations: 4 kB / 465.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.1222, allocations: 33.64 kB / 466 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 3.689e-05/0.1222, allocations: 7.984 kB / 466 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1222, allocations: 0 / 466 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1222, allocations: 0 / 466 MB, free: 13.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.1222, allocations: 0 / 466 MB, free: 13.34 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.0003311/0.1226, allocations: 327.5 kB / 466.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1226, allocations: 8.031 kB / 466.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.1227, allocations: 7.953 kB / 466.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1228, allocations: 159.1 kB / 466.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1228, allocations: 0 / 466.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.1228, allocations: 8 kB / 466.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.1229, allocations: 37.62 kB / 466.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.123, allocations: 0 / 466.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.123, allocations: 0 / 466.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.123, allocations: 0 / 466.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.587e-05/0.123, allocations: 15.95 kB / 466.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1232, allocations: 157.7 kB / 466.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.363e-05/0.1233, allocations: 38.59 kB / 466.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.1233, allocations: 3.938 kB / 466.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1233, allocations: 34.56 kB / 466.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1233, allocations: 0 / 466.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.000142/0.1235, allocations: 49.78 kB / 466.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1235, allocations: 51.41 kB / 466.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.1236, allocations: 97.86 kB / 467 MB, free: 12.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.1236, allocations: 25.7 kB / 467 MB, free: 12.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.1237, allocations: 88.06 kB / 467.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.1237, allocations: 15.81 kB / 467.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.1237, allocations: 0 / 467.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1238, allocations: 314.8 kB / 467.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.1239, allocations: 8 kB / 467.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.1239, allocations: 11.92 kB / 467.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.747e-05/0.1239, allocations: 4 kB / 467.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1239, allocations: 4 kB / 467.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.351e-05/0.124, allocations: 45.7 kB / 467.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.124, allocations: 7.984 kB / 467.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.124, allocations: 0 / 467.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.124, allocations: 3.938 kB / 467.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/0.1241, allocations: 8 kB / 467.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.1241, allocations: 0 / 467.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.1242, allocations: 0 / 467.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1242, allocations: 8 kB / 467.5 MB, free: 11.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.547e-05/0.1242, allocations: 113.7 kB / 467.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.1243, allocations: 3.906 kB / 467.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.1243, allocations: 19.42 kB / 467.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1243, allocations: 0 / 467.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1243, allocations: 0 / 467.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1243, allocations: 0 / 467.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.1244, allocations: 157.6 kB / 467.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1244, allocations: 0 / 467.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.354e-05/0.1245, allocations: 12 kB / 467.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1245, allocations: 0 / 467.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1245, allocations: 0 / 467.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1245, allocations: 0 / 467.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1245, allocations: 0 / 467.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.1247, allocations: 77.59 kB / 467.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.1247, allocations: 89.16 kB / 468 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.1247, allocations: 0 / 468 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.962e-05/0.1248, allocations: 4.062 kB / 468 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.1248, allocations: 0 / 468 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1248, allocations: 7.938 kB / 468 MB, free: 11.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.039e-05/0.1248, allocations: 75.28 kB / 468 MB, free: 10.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1248, allocations: 0 / 468 MB, free: 10.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001761/0.125, allocations: 4 kB / 468 MB, free: 10.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.209e-05/0.1251, allocations: 99.77 kB / 468.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.779e-05/0.1252, allocations: 12 kB / 468.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1252, allocations: 4 kB / 468.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.478e-05/0.1252, allocations: 8 kB / 468.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.1254, allocations: 17.86 kB / 468.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.1258, allocations: 216.6 kB / 468.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1261, allocations: 0.677 MB / 469.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.783e-05/0.1261, allocations: 0 / 469.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.1261, allocations: 11.44 kB / 469.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1261, allocations: 0 / 469.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of Templates: time 0.002207/0.1283, allocations: 228.5 kB / 469.3 MB, free: 9.645 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: