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.00148/0.00148, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04023/0.04023, allocations: 8.698 MB / 21.96 MB, free: 3.367 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.289/1.289, allocations: 221.4 MB / 246 MB, free: 3.547 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.000864/0.000864, allocations: 89.92 kB / 299.1 MB, free: 2.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.229e-05, allocations: 3.984 kB / 359.5 MB, free: 6.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2268, allocations: 52.54 MB / 412.1 MB, free: 22.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09156/0.3185, allocations: 76.08 MB / 488.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.3187, allocations: 59.97 kB / 488.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0008572/0.3196, allocations: 447.4 kB / 488.6 MB, free: 9.875 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3196, allocations: 0 / 488.6 MB, free: 9.875 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3196, allocations: 0 / 488.6 MB, free: 9.875 MB / 362.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.0002399/0.3199, allocations: 318.5 kB / 488.9 MB, free: 9.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3199, allocations: 8.031 kB / 488.9 MB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.3199, allocations: 3.953 kB / 488.9 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3201, allocations: 159.1 kB / 489.1 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3201, allocations: 13.64 kB / 489.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3201, allocations: 3.906 kB / 489.1 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.3202, allocations: 33.64 kB / 489.2 MB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.3202, allocations: 7.938 kB / 489.2 MB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.3203, allocations: 0 / 489.2 MB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3203, allocations: 4 kB / 489.2 MB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.665e-05/0.3203, allocations: 11.95 kB / 489.2 MB, free: 9.234 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.3205, allocations: 157.7 kB / 489.3 MB, free: 9.031 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.618e-05/0.3206, allocations: 34.61 kB / 489.4 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.3206, allocations: 12.86 kB / 489.4 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.3206, allocations: 4 kB / 489.4 MB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.3206, allocations: 38.5 kB / 489.4 MB, free: 8.922 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3207, allocations: 0 / 489.4 MB, free: 8.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001154/0.3208, allocations: 41.78 kB / 489.5 MB, free: 8.875 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.3208, allocations: 51.41 kB / 489.5 MB, free: 8.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.3209, allocations: 93 kB / 489.6 MB, free: 8.715 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.3209, allocations: 25.7 kB / 489.6 MB, free: 8.684 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.3209, allocations: 80.14 kB / 489.7 MB, free: 8.602 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.321, allocations: 15.84 kB / 489.7 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.321, allocations: 0 / 489.7 MB, free: 8.586 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3211, allocations: 322.8 kB / 490 MB, free: 8.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.3211, allocations: 7.281 kB / 490 MB, free: 8.258 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.118e-05/0.3211, allocations: 8.234 kB / 490 MB, free: 8.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.841e-05/0.3211, allocations: 4.078 kB / 490.1 MB, free: 8.246 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3212, allocations: 7.938 kB / 490.1 MB, free: 8.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.958e-05/0.3212, allocations: 53.53 kB / 490.1 MB, free: 8.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3212, allocations: 5.875 kB / 490.1 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3213, allocations: 0 / 490.1 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.3213, allocations: 4 kB / 490.1 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.042e-05/0.3214, allocations: 8 kB / 490.1 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3214, allocations: 3.984 kB / 490.1 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.3214, allocations: 4 kB / 490.1 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3214, allocations: 4 kB / 490.1 MB, free: 8.152 MB / 362.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 () * 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 6.037e-05/0.3215, allocations: 108.9 kB / 490.2 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.3215, allocations: 0 / 490.2 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.3215, allocations: 7.5 kB / 490.3 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3215, allocations: 0 / 490.3 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3215, allocations: 4 kB / 490.3 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3215, allocations: 0 / 490.3 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.344e-05/0.3216, allocations: 157.6 kB / 490.4 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3216, allocations: 0 / 490.4 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.3217, allocations: 11.94 kB / 490.4 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3217, allocations: 0 / 490.4 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.3217, allocations: 0 / 490.4 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3217, allocations: 7.922 kB / 490.4 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3217, allocations: 4 kB / 490.4 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.3219, allocations: 81.08 kB / 490.5 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.3219, allocations: 81.02 kB / 490.6 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.3219, allocations: 0 / 490.6 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.529e-05/0.3219, allocations: 0 / 490.6 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.322, allocations: 4.031 kB / 490.6 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.322, allocations: 0 / 490.6 MB, free: 7.598 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.322, allocations: 79.28 kB / 490.7 MB, free: 7.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.322, allocations: 0 / 490.7 MB, free: 7.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001624/0.3222, allocations: 7.984 kB / 490.7 MB, free: 7.512 MB / 362.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 () * 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 9.613e-05/0.3223, allocations: 103.2 kB / 490.8 MB, free: 7.402 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.212e-05/0.3224, allocations: 12 kB / 490.8 MB, free: 7.391 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3224, allocations: 4 kB / 490.8 MB, free: 7.387 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/0.3224, allocations: 4 kB / 490.8 MB, free: 7.383 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.813e-05/0.3225, allocations: 11.47 kB / 490.8 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000187/0.3227, allocations: 74.94 kB / 490.9 MB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.3229, allocations: 0.6809 MB / 491.6 MB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.757e-05/0.3229, allocations: 7.938 kB / 491.6 MB, free: 6.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.229e-05/0.323, allocations: 7.438 kB / 491.6 MB, free: 6.555 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.323, allocations: 0 / 491.6 MB, free: 6.555 MB / 362.7 MB Notification: Performance of Templates: time 0.001637/0.3246, allocations: 236.9 kB / 491.8 MB, free: 6.324 MB / 362.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)