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 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.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 3.2.3+maint.om/package.mo): time 0.0009758/0.0009759, allocations: 176.9 kB / 16.12 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.04085/0.04085, allocations: 8.768 MB / 25.64 MB, free: 3.379 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 233.9 MB, free: 12.46 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.0007947/0.0007949, allocations: 96.53 kB / 284.4 MB, free: 14.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 12 kB / 344.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2397, allocations: 49.72 MB / 394.5 MB, free: 36.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09507/0.3348, allocations: 77.6 MB / 472.1 MB, free: 7.035 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.3351, allocations: 71.91 kB / 472.2 MB, free: 6.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005203/0.3403, allocations: 2.065 MB / 474.2 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3403, allocations: 4 kB / 474.2 MB, free: 4.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3403, allocations: 4.188 kB / 474.2 MB, free: 4.887 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004079/0.3407, allocations: 391.1 kB / 474.6 MB, free: 4.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3408, allocations: 12.03 kB / 474.6 MB, free: 4.441 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.3408, allocations: 12.75 kB / 474.7 MB, free: 4.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.341, allocations: 192.3 kB / 474.8 MB, free: 4.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.341, allocations: 4.375 kB / 474.8 MB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.3411, allocations: 16.38 kB / 474.9 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.3413, allocations: 106.1 kB / 475 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3413, allocations: 192 / 475 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.3413, allocations: 11.94 kB / 475 MB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3413, allocations: 0 / 475 MB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.3414, allocations: 63.91 kB / 475 MB, free: 4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.3422, allocations: 0.4943 MB / 475.5 MB, free: 3.441 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3423, allocations: 50.5 kB / 475.6 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.3423, allocations: 20.86 kB / 475.6 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.3424, allocations: 0 / 475.6 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3424, allocations: 30.56 kB / 475.6 MB, free: 3.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3424, allocations: 0 / 475.6 MB, free: 3.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001675/0.3426, allocations: 65.62 kB / 475.7 MB, free: 3.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.3426, allocations: 59.33 kB / 475.8 MB, free: 3.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.3427, allocations: 150 kB / 475.9 MB, free: 3.027 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.3428, allocations: 29.7 kB / 475.9 MB, free: 2.992 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.3428, allocations: 112 kB / 476 MB, free: 2.875 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.3429, allocations: 15.81 kB / 476.1 MB, free: 2.859 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.3429, allocations: 3.938 kB / 476.1 MB, free: 2.855 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.343, allocations: 322.8 kB / 476.4 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.343, allocations: 8 kB / 476.4 MB, free: 2.523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.08e-05/0.3431, allocations: 34.56 kB / 476.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.558e-05/0.3431, allocations: 46.52 kB / 476.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3432, allocations: 7.938 kB / 476.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001206/0.3433, allocations: 81.53 kB / 476.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3433, allocations: 4 kB / 476.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3433, allocations: 0 / 476.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3433, allocations: 4 kB / 476.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.729e-05/0.3434, allocations: 15.98 kB / 476.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3435, allocations: 4.219 kB / 476.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.3435, allocations: 7.938 kB / 476.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3435, allocations: 3.984 kB / 476.6 MB, free: 2.293 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.271e-05/0.3436, allocations: 129.7 kB / 476.7 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.3436, allocations: 7.906 kB / 476.7 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.3437, allocations: 12.3 kB / 476.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3437, allocations: 4.188 kB / 476.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3437, allocations: 0 / 476.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3437, allocations: 3.984 kB / 476.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.3439, allocations: 205.5 kB / 476.9 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3439, allocations: 0 / 476.9 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.278e-05/0.344, allocations: 8 kB / 477 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.344, allocations: 4 kB / 477 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.344, allocations: 0 / 477 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.344, allocations: 0 / 477 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.344, allocations: 0 / 477 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.3442, allocations: 171.3 kB / 477.1 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.3443, allocations: 85.08 kB / 477.2 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.3443, allocations: 8.031 kB / 477.2 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.091e-05/0.3444, allocations: 4 kB / 477.2 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.3444, allocations: 0 / 477.2 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.3444, allocations: 3.984 kB / 477.2 MB, free: 1.559 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.145e-05/0.3445, allocations: 103.3 kB / 477.3 MB, free: 1.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3445, allocations: 0 / 477.3 MB, free: 1.457 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.3447, allocations: 35.84 kB / 477.4 MB, free: 1.422 MB / 346.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 (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.932e-05/0.3448, allocations: 99.19 kB / 477.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.617e-05/0.3449, allocations: 39.86 kB / 477.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.345, allocations: 4 kB / 477.5 MB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.779e-05/0.345, allocations: 12 kB / 477.5 MB, free: 1.258 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.3453, allocations: 15.92 kB / 477.5 MB, free: 1.242 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.3458, allocations: 347.8 kB / 477.9 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.346, allocations: 0.6965 MB / 478.6 MB, free: 160 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.811e-05/0.3461, allocations: 4.672 kB / 478.6 MB, free: 156 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.3461, allocations: 11.44 kB / 478.6 MB, free: 144 kB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3461, allocations: 0 / 478.6 MB, free: 144 kB / 346.7 MB Notification: Performance of Templates: time 0.002576/0.3487, allocations: 0.6509 MB / 479.2 MB, free: 15.49 MB / 362.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)