Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001589/0.001589, allocations: 175.2 kB / 16.11 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.06052/0.06052, allocations: 8.772 MB / 25.64 MB, free: 3.742 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.894/1.894, allocations: 205.4 MB / 233.9 MB, free: 12.41 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.0007838/0.0007839, allocations: 93.66 kB / 284.4 MB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004252, allocations: 15.98 kB / 344.8 MB, free: 1.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2191, allocations: 49.71 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09058/0.3098, allocations: 77.57 MB / 472.1 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.31, allocations: 71.91 kB / 472.1 MB, free: 7.023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005281/0.3153, allocations: 1.966 MB / 474.1 MB, free: 5.059 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.3154, allocations: 0 / 474.1 MB, free: 5.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.3154, allocations: 0 / 474.1 MB, free: 5.059 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.0006547/0.316, allocations: 395.2 kB / 474.5 MB, free: 4.621 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.3161, allocations: 8.031 kB / 474.5 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.652e-05/0.3162, allocations: 20.75 kB / 474.5 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.3165, allocations: 192.4 kB / 474.7 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3165, allocations: 8.375 kB / 474.7 MB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.3166, allocations: 12.38 kB / 474.7 MB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.3168, allocations: 102.2 kB / 474.8 MB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3168, allocations: 192 / 474.8 MB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.3169, allocations: 7.938 kB / 474.8 MB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.3169, allocations: 4 kB / 474.8 MB, free: 4.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.3171, allocations: 63.91 kB / 474.9 MB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.3181, allocations: 0.4943 MB / 475.4 MB, free: 3.609 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.3182, allocations: 54.5 kB / 475.5 MB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.3183, allocations: 16.86 kB / 475.5 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.3183, allocations: 0 / 475.5 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.3183, allocations: 38.5 kB / 475.5 MB, free: 3.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.3183, allocations: 0 / 475.5 MB, free: 3.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002017/0.3186, allocations: 61.69 kB / 475.6 MB, free: 3.414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.3186, allocations: 63.33 kB / 475.6 MB, free: 3.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3188, allocations: 142 kB / 475.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3188, allocations: 29.7 kB / 475.8 MB, free: 3.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.3189, allocations: 116 kB / 475.9 MB, free: 3.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.3189, allocations: 11.81 kB / 475.9 MB, free: 3.027 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/0.3189, allocations: 4 kB / 475.9 MB, free: 3.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.319, allocations: 322.8 kB / 476.2 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.319, allocations: 12 kB / 476.3 MB, free: 2.688 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.082e-05/0.3191, allocations: 38.5 kB / 476.3 MB, free: 2.641 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.303e-05/0.3192, allocations: 42.58 kB / 476.3 MB, free: 2.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3192, allocations: 3.938 kB / 476.3 MB, free: 2.586 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001066/0.3193, allocations: 77.53 kB / 476.4 MB, free: 2.504 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3193, allocations: 8 kB / 476.4 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3193, allocations: 224 / 476.4 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3194, allocations: 8.062 kB / 476.4 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.911e-05/0.3195, allocations: 19.92 kB / 476.4 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3195, allocations: 7.984 kB / 476.5 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.3195, allocations: 7.938 kB / 476.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.3195, allocations: 4.188 kB / 476.5 MB, free: 2.449 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.752e-05/0.3196, allocations: 121.8 kB / 476.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.3197, allocations: 7.906 kB / 476.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.3197, allocations: 20.22 kB / 476.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3197, allocations: 0 / 476.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3197, allocations: 4 kB / 476.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3197, allocations: 0 / 476.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.32, allocations: 197.6 kB / 476.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.32, allocations: 0 / 476.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-05/0.3201, allocations: 8 kB / 476.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3201, allocations: 0 / 476.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3201, allocations: 0 / 476.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3201, allocations: 0 / 476.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3201, allocations: 7.938 kB / 476.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.3203, allocations: 171.4 kB / 477 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.3204, allocations: 81.02 kB / 477.1 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.3204, allocations: 0 / 477.1 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.3205, allocations: 8.031 kB / 477.1 MB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.3206, allocations: 4 kB / 477.1 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3206, allocations: 0 / 477.1 MB, free: 1.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.3207, allocations: 107.2 kB / 477.2 MB, free: 1.625 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3207, allocations: 0 / 477.2 MB, free: 1.625 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002694/0.321, allocations: 35.91 kB / 477.2 MB, free: 1.59 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 0.0001688/0.3212, allocations: 99.19 kB / 477.3 MB, free: 1.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.3213, allocations: 39.86 kB / 477.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3213, allocations: 0 / 477.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.963e-05/0.3213, allocations: 8 kB / 477.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.3218, allocations: 19.86 kB / 477.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005267/0.3223, allocations: 347.8 kB / 477.7 MB, free: 1.051 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.3226, allocations: 0.7004 MB / 478.4 MB, free: 332 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.834e-05/0.3226, allocations: 8.672 kB / 478.4 MB, free: 324 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.3226, allocations: 11.44 kB / 478.4 MB, free: 312 kB / 346.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3226, allocations: 0 / 478.4 MB, free: 312 kB / 346.7 MB Notification: Performance of Templates: time 0.002616/0.3253, allocations: 0.6498 MB / 479.1 MB, free: 15.66 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1)