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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03704/0.03704, allocations: 8.795 MB / 25.53 MB, free: 3.746 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 251.3 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001077, allocations: 108.8 kB / 303.6 MB, free: 14.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 71.88 kB / 366 MB, free: 196 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2044, allocations: 51.55 MB / 417.5 MB, free: 20.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002798/0.2073, allocations: 1.868 MB / 419.4 MB, free: 19.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006736/0.2079, allocations: 465.2 kB / 419.9 MB, free: 18.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.2081, allocations: 0 / 419.9 MB, free: 18.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.2082, allocations: 19.84 kB / 419.9 MB, free: 18.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.2083, allocations: 27.77 kB / 419.9 MB, free: 18.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.2084, allocations: 19.98 kB / 419.9 MB, free: 18.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.2085, allocations: 119.4 kB / 420 MB, free: 18.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.2087, allocations: 41.19 kB / 420.1 MB, free: 18.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.2087, allocations: 43.86 kB / 420.1 MB, free: 18.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.016e-05/0.2088, allocations: 51.7 kB / 420.2 MB, free: 18.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.2088, allocations: 8 kB / 420.2 MB, free: 18.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.043e-05/0.2088, allocations: 8 kB / 420.2 MB, free: 18.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.2089, allocations: 19.92 kB / 420.2 MB, free: 18.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.2089, allocations: 55.67 kB / 420.3 MB, free: 18.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.209, allocations: 113.7 kB / 420.4 MB, free: 18.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.209, allocations: 0 / 420.4 MB, free: 18.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.209, allocations: 4 kB / 420.4 MB, free: 18.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.209, allocations: 4 kB / 420.4 MB, free: 18.06 MB / 298.7 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.0004345/0.2095, allocations: 411.1 kB / 420.8 MB, free: 17.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2095, allocations: 8.031 kB / 420.8 MB, free: 17.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.2096, allocations: 16.84 kB / 420.8 MB, free: 17.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2097, allocations: 192.1 kB / 421 MB, free: 17.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.2097, allocations: 8.375 kB / 421 MB, free: 17.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.2098, allocations: 12.38 kB / 421 MB, free: 17.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.2099, allocations: 110.6 kB / 421.1 MB, free: 17.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.2099, allocations: 0 / 421.1 MB, free: 17.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2099, allocations: 0 / 421.1 MB, free: 17.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2099, allocations: 4 kB / 421.1 MB, free: 17.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.094e-05/0.21, allocations: 63.91 kB / 421.2 MB, free: 17.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.2106, allocations: 0.4943 MB / 421.7 MB, free: 16.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.388e-05/0.2107, allocations: 50.55 kB / 421.7 MB, free: 16.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/0.2107, allocations: 20.8 kB / 421.7 MB, free: 16.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.2108, allocations: 0 / 421.7 MB, free: 16.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.2108, allocations: 42.5 kB / 421.8 MB, free: 16.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2108, allocations: 0 / 421.8 MB, free: 16.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001473/0.2109, allocations: 61.69 kB / 421.9 MB, free: 16.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.211, allocations: 59.39 kB / 421.9 MB, free: 16.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.2111, allocations: 133.8 kB / 422 MB, free: 16.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.2111, allocations: 29.7 kB / 422.1 MB, free: 16.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.2111, allocations: 123.9 kB / 422.2 MB, free: 16.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.829e-06/0.2111, allocations: 11.81 kB / 422.2 MB, free: 16.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.2112, allocations: 29.7 kB / 422.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.2112, allocations: 318.8 kB / 422.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/0.2113, allocations: 19.92 kB / 422.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.773e-05/0.2113, allocations: 26.58 kB / 422.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.108e-05/0.2113, allocations: 50.56 kB / 422.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2113, allocations: 0 / 422.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.802e-05/0.2114, allocations: 81.53 kB / 422.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2115, allocations: 4 kB / 422.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2115, allocations: 0 / 422.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2115, allocations: 7.938 kB / 422.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.691e-05/0.2116, allocations: 15.94 kB / 422.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2116, allocations: 0 / 422.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.216e-05/0.2116, allocations: 11.94 kB / 422.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.2116, allocations: 0 / 422.8 MB, free: 15.43 MB / 298.7 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 5.653e-05/0.2117, allocations: 130.3 kB / 422.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.2117, allocations: 7.906 kB / 422.9 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.267e-05/0.2118, allocations: 12.25 kB / 422.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2118, allocations: 0 / 422.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2118, allocations: 0 / 422.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2118, allocations: 0 / 422.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.2119, allocations: 201.5 kB / 423.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2119, allocations: 0 / 423.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.758e-05/0.212, allocations: 11.94 kB / 423.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.212, allocations: 8 kB / 423.1 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.212, allocations: 64 / 423.1 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.212, allocations: 4 kB / 423.1 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.212, allocations: 0 / 423.1 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006419/0.2127, allocations: 1.066 MB / 424.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.2127, allocations: 84.95 kB / 424.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.2127, allocations: 0 / 424.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.2128, allocations: 4.031 kB / 424.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.2128, allocations: 3.984 kB / 424.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.2128, allocations: 7.938 kB / 424.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.2129, allocations: 109.8 kB / 424.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2129, allocations: 4.094 kB / 424.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002823/0.2132, allocations: 31.84 kB / 424.4 MB, free: 13.54 MB / 298.7 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 6.266e-05/0.2132, allocations: 91.25 kB / 424.5 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.88e-05/0.2133, allocations: 39.92 kB / 424.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2133, allocations: 0 / 424.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.564e-05/0.2134, allocations: 12 kB / 424.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.2136, allocations: 11.98 kB / 424.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.2141, allocations: 431.8 kB / 425 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.2142, allocations: 0.7004 MB / 425.7 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.798e-05/0.2143, allocations: 12.66 kB / 425.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.2143, allocations: 11.44 kB / 425.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2143, allocations: 0 / 425.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of Templates: time 0.002262/0.2166, allocations: 0.7328 MB / 426.5 MB, free: 11.44 MB / 298.7 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)