Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 112.6 kB / 16.37 MB, free: 6 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.319/1.319, allocations: 222.9 MB / 240 MB, free: 4.543 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.00132/0.00132, allocations: 188.5 kB / 290.3 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0361/0.0361, allocations: 8.788 MB / 349.3 MB, free: 4.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 77.64 kB / 412.5 MB, free: 41.88 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07502/0.07651, allocations: 51.56 MB / 464.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002661/0.0792, allocations: 1.805 MB / 465.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006324/0.07985, allocations: 466.9 kB / 466.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.07993, allocations: 3.938 kB / 466.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.595e-05/0.08004, allocations: 15.86 kB / 466.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/0.08011, allocations: 31.7 kB / 466.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.08024, allocations: 23.97 kB / 466.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.08039, allocations: 123.5 kB / 466.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.08052, allocations: 52.89 kB / 466.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.086e-05/0.08058, allocations: 47.8 kB / 466.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.08067, allocations: 51.77 kB / 466.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.0807, allocations: 11.98 kB / 466.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.093e-05/0.08073, allocations: 12 kB / 466.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.08076, allocations: 23.92 kB / 466.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.08082, allocations: 63.67 kB / 466.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.08096, allocations: 119.6 kB / 466.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.08097, allocations: 0 / 466.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.08098, allocations: 0 / 466.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.08099, allocations: 3.938 kB / 466.9 MB, free: 10.84 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.0004543/0.08145, allocations: 407.1 kB / 467.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.08149, allocations: 8.031 kB / 467.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.08153, allocations: 12.84 kB / 467.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.08174, allocations: 200.1 kB / 467.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.08176, allocations: 12.38 kB / 467.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.08179, allocations: 4.375 kB / 467.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.08197, allocations: 106.8 kB / 467.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.08198, allocations: 0 / 467.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.082, allocations: 8 kB / 467.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.08201, allocations: 0 / 467.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.08212, allocations: 59.97 kB / 467.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006685/0.08279, allocations: 0.4981 MB / 468.2 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.297e-05/0.08289, allocations: 46.56 kB / 468.3 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.08292, allocations: 16.86 kB / 468.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/0.08294, allocations: 0 / 468.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.08296, allocations: 38.56 kB / 468.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.08297, allocations: 0 / 468.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001521/0.08313, allocations: 65.7 kB / 468.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.08317, allocations: 51.41 kB / 468.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.08328, allocations: 147.5 kB / 468.6 MB, free: 8.984 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.0833, allocations: 29.7 kB / 468.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.08336, allocations: 112 kB / 468.7 MB, free: 8.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.08338, allocations: 15.81 kB / 468.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.08343, allocations: 25.7 kB / 468.8 MB, free: 8.785 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.08352, allocations: 322.8 kB / 469.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.08356, allocations: 11.98 kB / 469.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.0836, allocations: 30.59 kB / 469.1 MB, free: 8.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.096e-05/0.08366, allocations: 54.44 kB / 469.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.08367, allocations: 4 kB / 469.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001092/0.08379, allocations: 85.53 kB / 469.3 MB, free: 8.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.0838, allocations: 4 kB / 469.3 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.08381, allocations: 4 kB / 469.3 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.08383, allocations: 0 / 469.3 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.916e-05/0.08392, allocations: 12 kB / 469.3 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.08394, allocations: 0 / 469.3 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.08399, allocations: 15.81 kB / 469.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.084, allocations: 4 kB / 469.3 MB, free: 8.215 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 7.544e-05/0.08408, allocations: 141.7 kB / 469.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.08412, allocations: 8.094 kB / 469.4 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.08415, allocations: 8.234 kB / 469.4 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.08415, allocations: 0 / 469.4 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.08416, allocations: 4 kB / 469.4 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.08417, allocations: 0 / 469.4 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.08435, allocations: 193.6 kB / 469.6 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.08436, allocations: 4 kB / 469.6 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.617e-05/0.08443, allocations: 8 kB / 469.6 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.08444, allocations: 4 kB / 469.7 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.08445, allocations: 0 / 469.7 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.08445, allocations: 0 / 469.7 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.08446, allocations: 3.984 kB / 469.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.08461, allocations: 171.3 kB / 469.8 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.08467, allocations: 89.05 kB / 469.9 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.08469, allocations: 0 / 469.9 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.08479, allocations: 8.047 kB / 469.9 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.0848, allocations: 4 kB / 469.9 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.08481, allocations: 0 / 469.9 MB, free: 7.484 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.578e-05/0.08488, allocations: 113.1 kB / 470 MB, free: 7.375 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08489, allocations: 0 / 470 MB, free: 7.375 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.08513, allocations: 23.84 kB / 470.1 MB, free: 7.352 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 8.588e-05/0.08522, allocations: 91.25 kB / 470.1 MB, free: 7.254 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.259e-05/0.08532, allocations: 39.92 kB / 470.2 MB, free: 7.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.08533, allocations: 4.125 kB / 470.2 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.128e-05/0.08536, allocations: 15.98 kB / 470.2 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.0856, allocations: 11.94 kB / 470.2 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.08607, allocations: 283.5 kB / 470.5 MB, free: 6.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.08632, allocations: 0.7001 MB / 471.2 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.213e-05/0.08636, allocations: 8.656 kB / 471.2 MB, free: 6.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.08639, allocations: 15.44 kB / 471.2 MB, free: 6.133 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.08639, allocations: 0 / 471.2 MB, free: 6.133 MB / 302.1 MB Notification: Performance of Templates: time 0.002637/0.08903, allocations: 0.6957 MB / 471.9 MB, free: 5.445 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1)