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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001363, allocations: 180.7 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.05916/0.05916, 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.393/1.393, allocations: 222.9 MB / 251.3 MB, free: 7.422 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.00108/0.00108, allocations: 115.5 kB / 303.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001219, allocations: 67.91 kB / 366 MB, free: 184 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2265, allocations: 51.55 MB / 417.5 MB, free: 20.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.00148/0.228, allocations: 0.5456 MB / 418.1 MB, free: 20.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000131/0.2282, allocations: 23.95 kB / 418.1 MB, free: 20.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.2282, allocations: 0 / 418.1 MB, free: 20.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.2283, allocations: 3.938 kB / 418.1 MB, free: 20.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.644e-05/0.2283, allocations: 0 / 418.1 MB, free: 20.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.2284, allocations: 4 kB / 418.1 MB, free: 20.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.317e-05/0.2285, allocations: 8 kB / 418.1 MB, free: 20.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.293e-05/0.2286, allocations: 7.984 kB / 418.1 MB, free: 20.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.164e-05/0.2286, allocations: 7.938 kB / 418.1 MB, free: 20.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.2287, allocations: 3.984 kB / 418.1 MB, free: 20.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.2287, allocations: 4 kB / 418.1 MB, free: 20.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-06/0.2287, allocations: 0 / 418.1 MB, free: 20.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.2287, allocations: 4 kB / 418.1 MB, free: 20.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.2288, allocations: 3.938 kB / 418.2 MB, free: 20.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.972e-05/0.2288, allocations: 11.92 kB / 418.2 MB, free: 20.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2288, allocations: 0 / 418.2 MB, free: 20.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2288, allocations: 0 / 418.2 MB, free: 20.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.2288, allocations: 0 / 418.2 MB, free: 20.28 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004023/0.2293, allocations: 331.5 kB / 418.5 MB, free: 19.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.2293, allocations: 8.031 kB / 418.5 MB, free: 19.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.2294, allocations: 4.938 kB / 418.5 MB, free: 19.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2295, allocations: 166.4 kB / 418.7 MB, free: 19.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.2295, allocations: 4.375 kB / 418.7 MB, free: 19.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.2295, allocations: 4.375 kB / 418.7 MB, free: 19.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.2296, allocations: 38.25 kB / 418.7 MB, free: 19.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2297, allocations: 192 / 418.7 MB, free: 19.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2297, allocations: 7.938 kB / 418.7 MB, free: 19.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2297, allocations: 0 / 418.7 MB, free: 19.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.041e-05/0.2297, allocations: 11.97 kB / 418.7 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.2299, allocations: 149.7 kB / 418.9 MB, free: 19.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.278e-05/0.23, allocations: 42.55 kB / 418.9 MB, free: 19.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/0.23, allocations: 12.86 kB / 418.9 MB, free: 19.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.23, allocations: 0 / 418.9 MB, free: 19.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.2301, allocations: 38.64 kB / 419 MB, free: 19.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.2301, allocations: 0 / 419 MB, free: 19.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001463/0.2302, allocations: 57.56 kB / 419 MB, free: 19.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.2302, allocations: 51.41 kB / 419.1 MB, free: 19.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.861e-05/0.2303, allocations: 93.86 kB / 419.2 MB, free: 19.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.2303, allocations: 25.7 kB / 419.2 MB, free: 19.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.2304, allocations: 88.14 kB / 419.3 MB, free: 18.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.2304, allocations: 7.812 kB / 419.3 MB, free: 18.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.2304, allocations: 25.7 kB / 419.3 MB, free: 18.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.386e-05/0.2305, allocations: 310.8 kB / 419.6 MB, free: 18.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.2305, allocations: 4 kB / 419.6 MB, free: 18.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102e-05/0.2305, allocations: 8 kB / 419.6 MB, free: 18.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.93e-05/0.2306, allocations: 20.84 kB / 419.6 MB, free: 18.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2306, allocations: 0 / 419.6 MB, free: 18.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.484e-05/0.2307, allocations: 45.64 kB / 419.7 MB, free: 18.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2307, allocations: 11.92 kB / 419.7 MB, free: 18.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2307, allocations: 7.938 kB / 419.7 MB, free: 18.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2307, allocations: 4 kB / 419.7 MB, free: 18.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.2308, allocations: 8 kB / 419.7 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.2308, allocations: 0 / 419.7 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.2309, allocations: 3.938 kB / 419.7 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.2309, allocations: 3.984 kB / 419.7 MB, free: 18.49 MB / 298.7 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 6.866e-05/0.2309, allocations: 118.3 kB / 419.8 MB, free: 18.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/0.231, allocations: 3.906 kB / 419.8 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.231, allocations: 11.42 kB / 419.9 MB, free: 18.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.231, allocations: 0 / 419.9 MB, free: 18.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.231, allocations: 4 kB / 419.9 MB, free: 18.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.231, allocations: 4.453 kB / 419.9 MB, free: 18.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.544e-05/0.2311, allocations: 157.7 kB / 420 MB, free: 18.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2311, allocations: 4 kB / 420 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.2312, allocations: 4 kB / 420 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2312, allocations: 4 kB / 420 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.2312, allocations: 3.938 kB / 420 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2312, allocations: 0 / 420 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2312, allocations: 0 / 420 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007158/0.2319, allocations: 0.9306 MB / 421 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.232, allocations: 81.14 kB / 421 MB, free: 16.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-06/0.232, allocations: 4 kB / 421 MB, free: 16.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.424e-05/0.232, allocations: 8.031 kB / 421.1 MB, free: 16.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.232, allocations: 3.984 kB / 421.1 MB, free: 16.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.232, allocations: 4 kB / 421.1 MB, free: 16.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.957e-05/0.232, allocations: 75.28 kB / 421.1 MB, free: 16.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.232, allocations: 0 / 421.1 MB, free: 16.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002481/0.2323, allocations: 4 kB / 421.1 MB, free: 16.86 MB / 298.7 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.892e-05/0.2324, allocations: 95.25 kB / 421.2 MB, free: 16.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.259e-05/0.2325, allocations: 15.98 kB / 421.3 MB, free: 16.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2325, allocations: 4 kB / 421.3 MB, free: 16.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.396e-05/0.2325, allocations: 15.94 kB / 421.3 MB, free: 16.72 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.2327, allocations: 6.281 kB / 421.3 MB, free: 16.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.233, allocations: 226.1 kB / 421.5 MB, free: 16.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.2331, allocations: 0.677 MB / 422.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.93e-05/0.2331, allocations: 0 / 422.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.2332, allocations: 11.44 kB / 422.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2332, allocations: 4 kB / 422.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of Templates: time 0.001888/0.2351, allocations: 284.5 kB / 422.5 MB, free: 15.46 MB / 298.7 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)