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.00113/0.00113, allocations: 115 kB / 16.37 MB, free: 5.539 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.335/1.335, allocations: 222.9 MB / 240 MB, free: 4.566 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.001232/0.001232, allocations: 196.4 kB / 290.3 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0917/0.0917, allocations: 8.794 MB / 349.3 MB, free: 4.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 79.36 kB / 412.5 MB, free: 41.72 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0755/0.07706, allocations: 51.55 MB / 464.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001539/0.07863, allocations: 0.4895 MB / 464.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001139/0.07876, allocations: 19.92 kB / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.07879, allocations: 0 / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.07881, allocations: 3.938 kB / 464.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.009e-05/0.07884, allocations: 4 kB / 464.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.07896, allocations: 7.969 kB / 464.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.365e-05/0.07901, allocations: 7.938 kB / 464.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.07906, allocations: 4 kB / 464.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.773e-05/0.07908, allocations: 7.984 kB / 464.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.07913, allocations: 3.938 kB / 464.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.07915, allocations: 4 kB / 464.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-06/0.07917, allocations: 4 kB / 464.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.07918, allocations: 0 / 464.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.07921, allocations: 7.938 kB / 464.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.057e-05/0.07926, allocations: 15.91 kB / 464.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.07927, allocations: 0 / 464.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.07928, allocations: 0 / 464.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.07929, allocations: 0 / 464.7 MB, free: 13.02 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.0003242/0.07962, allocations: 327.5 kB / 465 MB, free: 12.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.07966, allocations: 8.031 kB / 465 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.07969, allocations: 8.938 kB / 465 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.0798, allocations: 160.4 kB / 465.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.07981, allocations: 384 / 465.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.07984, allocations: 4.375 kB / 465.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.559e-05/0.07993, allocations: 38.25 kB / 465.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.07994, allocations: 192 / 465.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.07995, allocations: 3.938 kB / 465.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.07996, allocations: 0 / 465.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.134e-05/0.08, allocations: 7.938 kB / 465.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.08016, allocations: 157.7 kB / 465.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.215e-05/0.08023, allocations: 34.61 kB / 465.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.08026, allocations: 16.86 kB / 465.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.08028, allocations: 0 / 465.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.0803, allocations: 34.5 kB / 465.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 2.235e-06/0.08031, allocations: 3.984 kB / 465.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001286/0.08044, allocations: 57.56 kB / 465.5 MB, free: 12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.08048, allocations: 63.34 kB / 465.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.339e-05/0.08054, allocations: 101.8 kB / 465.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.08056, allocations: 25.7 kB / 465.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.0806, allocations: 80.14 kB / 465.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.08064, allocations: 11.84 kB / 465.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.08067, allocations: 17.7 kB / 465.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.08078, allocations: 314.8 kB / 466.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.0808, allocations: 4 kB / 466.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/0.08081, allocations: 8 kB / 466.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.473e-05/0.08086, allocations: 20.84 kB / 466.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.08087, allocations: 0 / 466.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.687e-05/0.08094, allocations: 49.64 kB / 466.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.08096, allocations: 10.19 kB / 466.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.08097, allocations: 3.938 kB / 466.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.08098, allocations: 0 / 466.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/0.08107, allocations: 15.98 kB / 466.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.08108, allocations: 3.984 kB / 466.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.0811, allocations: 7.906 kB / 466.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.08111, allocations: 0 / 466.2 MB, free: 11.22 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/0.08118, allocations: 117.8 kB / 466.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-06/0.08119, allocations: 0 / 466.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.08122, allocations: 11.44 kB / 466.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.08123, allocations: 0 / 466.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.08124, allocations: 4 kB / 466.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.08125, allocations: 3.984 kB / 466.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.535e-05/0.08133, allocations: 149.7 kB / 466.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.08134, allocations: 0 / 466.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/0.08142, allocations: 19.92 kB / 466.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.08143, allocations: 0 / 466.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.08144, allocations: 3.938 kB / 466.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.08145, allocations: 0 / 466.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.08145, allocations: 0 / 466.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.08157, allocations: 73.12 kB / 466.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.08161, allocations: 81.61 kB / 466.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.08162, allocations: 11.95 kB / 466.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.66e-05/0.08165, allocations: 4.062 kB / 466.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-06/0.08166, allocations: 0 / 466.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-06/0.08167, allocations: 0 / 466.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.874e-05/0.08171, allocations: 83.27 kB / 466.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08172, allocations: 0 / 466.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00018/0.0819, allocations: 8 kB / 466.8 MB, free: 10.56 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 (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.983e-05/0.08198, allocations: 95.19 kB / 466.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.343e-05/0.08206, allocations: 19.92 kB / 466.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.08207, allocations: 4 kB / 466.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.629e-05/0.08209, allocations: 8 kB / 466.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.08222, allocations: 3.938 kB / 466.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/0.08244, allocations: 121.7 kB / 467 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.08266, allocations: 0.6768 MB / 467.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.049e-05/0.08269, allocations: 0 / 467.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.08271, allocations: 11.38 kB / 467.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.08272, allocations: 0 / 467.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of Templates: time 0.001725/0.08445, allocations: 253.1 kB / 468 MB, free: 9.316 MB / 302.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 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1)