Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001773/0.001772, allocations: 180.1 kB / 16.12 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.0644/0.0644, allocations: 8.775 MB / 25.64 MB, free: 3.797 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 233.9 MB, free: 12.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008494/0.0008493, allocations: 101.3 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004683, allocations: 12 kB / 344.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2305, allocations: 49.72 MB / 394.5 MB, free: 36.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08905/0.3197, allocations: 75.31 MB / 469.8 MB, free: 9.344 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.3199, allocations: 59.97 kB / 469.9 MB, free: 9.285 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0008477/0.3208, allocations: 474.8 kB / 470.3 MB, free: 8.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3208, allocations: 0 / 470.3 MB, free: 8.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3208, allocations: 0 / 470.3 MB, free: 8.82 MB / 346.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.0002593/0.3211, allocations: 315.6 kB / 470.6 MB, free: 8.461 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.3211, allocations: 8.031 kB / 470.7 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.3211, allocations: 12.77 kB / 470.7 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.3212, allocations: 164.4 kB / 470.8 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3213, allocations: 384 / 470.8 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.3213, allocations: 16.3 kB / 470.8 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.981e-05/0.3214, allocations: 34.25 kB / 470.9 MB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3214, allocations: 192 / 470.9 MB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3214, allocations: 7.938 kB / 470.9 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3214, allocations: 0 / 470.9 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.442e-05/0.3215, allocations: 11.94 kB / 470.9 MB, free: 8.168 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.3216, allocations: 153.7 kB / 471 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.746e-05/0.3217, allocations: 34.61 kB / 471.1 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.3217, allocations: 16.86 kB / 471.1 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.3217, allocations: 0 / 471.1 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3218, allocations: 34.56 kB / 471.1 MB, free: 7.863 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3218, allocations: 0 / 471.1 MB, free: 7.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001265/0.3219, allocations: 53.66 kB / 471.2 MB, free: 7.805 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.322, allocations: 51.41 kB / 471.2 MB, free: 7.742 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.86e-05/0.322, allocations: 101.8 kB / 471.3 MB, free: 7.633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.3221, allocations: 29.7 kB / 471.4 MB, free: 7.598 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.3221, allocations: 80.14 kB / 471.4 MB, free: 7.516 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.3221, allocations: 15.75 kB / 471.5 MB, free: 7.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-06/0.3221, allocations: 0 / 471.5 MB, free: 7.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3223, allocations: 318.2 kB / 471.8 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.321e-05/0.3223, allocations: 4 kB / 471.8 MB, free: 7.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.165e-05/0.3223, allocations: 7.984 kB / 471.8 MB, free: 7.172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.747e-05/0.3223, allocations: 24.8 kB / 471.8 MB, free: 7.145 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3223, allocations: 0 / 471.8 MB, free: 7.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.672e-05/0.3224, allocations: 50.16 kB / 471.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3224, allocations: 4 kB / 471.9 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3225, allocations: 3.938 kB / 471.9 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.3225, allocations: 0 / 471.9 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.155e-05/0.3226, allocations: 8 kB / 471.9 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3226, allocations: 0 / 471.9 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.3226, allocations: 4 kB / 471.9 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.3226, allocations: 0 / 471.9 MB, free: 7.07 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.404e-05/0.3227, allocations: 113.8 kB / 472 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.3227, allocations: 8.047 kB / 472 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.3227, allocations: 15.42 kB / 472 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3227, allocations: 0 / 472 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3227, allocations: 7.875 kB / 472 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3227, allocations: 0 / 472 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.3229, allocations: 157.6 kB / 472.2 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3229, allocations: 3.938 kB / 472.2 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.3229, allocations: 12 kB / 472.2 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3229, allocations: 0 / 472.2 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.323, allocations: 3.938 kB / 472.2 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.323, allocations: 8 kB / 472.2 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.323, allocations: 0 / 472.2 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.3231, allocations: 77.11 kB / 472.3 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.3231, allocations: 77.11 kB / 472.3 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.3232, allocations: 3.938 kB / 472.3 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.3232, allocations: 0 / 472.3 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.3232, allocations: 32 / 472.3 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-06/0.3232, allocations: 4 kB / 472.3 MB, free: 6.484 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.315e-05/0.3233, allocations: 87.27 kB / 472.4 MB, free: 6.398 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3233, allocations: 0 / 472.4 MB, free: 6.398 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.3235, allocations: 16 kB / 472.4 MB, free: 6.383 MB / 346.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 (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 0.0001035/0.3236, allocations: 91.25 kB / 472.5 MB, free: 6.285 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.553e-05/0.3236, allocations: 19.98 kB / 472.6 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3236, allocations: 0 / 472.6 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/0.3237, allocations: 4 kB / 472.6 MB, free: 6.262 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.3238, allocations: 0 / 472.6 MB, free: 6.262 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.3242, allocations: 212.6 kB / 472.8 MB, free: 6.027 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.3244, allocations: 0.6848 MB / 473.5 MB, free: 5.316 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.422e-05/0.3244, allocations: 4 kB / 473.5 MB, free: 5.312 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.23e-05/0.3244, allocations: 7.438 kB / 473.5 MB, free: 5.305 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3244, allocations: 0 / 473.5 MB, free: 5.305 MB / 346.7 MB Notification: Performance of Templates: time 0.0017/0.3261, allocations: 240.5 kB / 473.7 MB, free: 5.07 MB / 346.7 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1)