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 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.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 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 175.1 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.05107/0.05107, allocations: 8.702 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.381/1.381, allocations: 221.4 MB / 246 MB, free: 3.598 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.0009591/0.0009596, allocations: 92.06 kB / 299.1 MB, free: 2.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.573e-05, allocations: 4 kB / 359.5 MB, free: 6.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2724, allocations: 52.54 MB / 412.1 MB, free: 22.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1006/0.3731, allocations: 78.68 MB / 490.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.3733, allocations: 67.97 kB / 490.8 MB, free: 7.688 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00537/0.3787, allocations: 2.152 MB / 493 MB, free: 5.527 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3787, allocations: 0 / 493 MB, free: 5.527 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3787, allocations: 4 kB / 493 MB, free: 5.523 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004121/0.3792, allocations: 386.2 kB / 493.3 MB, free: 5.102 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3792, allocations: 12.03 kB / 493.4 MB, free: 5.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.3793, allocations: 11.81 kB / 493.4 MB, free: 5.078 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.3795, allocations: 195.1 kB / 493.6 MB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3795, allocations: 8 kB / 493.6 MB, free: 4.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.3795, allocations: 12 kB / 493.6 MB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.3797, allocations: 94.77 kB / 493.7 MB, free: 4.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3798, allocations: 0 / 493.7 MB, free: 4.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.3798, allocations: 4 kB / 493.7 MB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3798, allocations: 7.953 kB / 493.7 MB, free: 4.719 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.3799, allocations: 63.94 kB / 493.7 MB, free: 4.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.3807, allocations: 0.4982 MB / 494.2 MB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.3808, allocations: 46.56 kB / 494.3 MB, free: 4.039 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.3809, allocations: 28.78 kB / 494.3 MB, free: 4.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.3809, allocations: 0 / 494.3 MB, free: 4.008 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.3809, allocations: 30.56 kB / 494.3 MB, free: 3.969 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.381, allocations: 4 kB / 494.3 MB, free: 3.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001457/0.3811, allocations: 53.73 kB / 494.4 MB, free: 3.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.3812, allocations: 59.34 kB / 494.5 MB, free: 3.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3813, allocations: 135 kB / 494.6 MB, free: 3.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3813, allocations: 25.7 kB / 494.6 MB, free: 3.664 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.3814, allocations: 116 kB / 494.7 MB, free: 3.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.061e-05/0.3814, allocations: 11.81 kB / 494.7 MB, free: 3.531 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.3814, allocations: 4 kB / 494.7 MB, free: 3.527 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3816, allocations: 323.5 kB / 495.1 MB, free: 3.203 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.3816, allocations: 12 kB / 495.1 MB, free: 3.191 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.079e-05/0.3817, allocations: 38.45 kB / 495.1 MB, free: 3.145 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.521e-05/0.3817, allocations: 15.98 kB / 495.1 MB, free: 3.129 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3817, allocations: 0 / 495.1 MB, free: 3.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001245/0.3819, allocations: 81.53 kB / 495.2 MB, free: 3.043 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3819, allocations: 5.938 kB / 495.2 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3819, allocations: 4 kB / 495.2 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3819, allocations: 4 kB / 495.2 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3821, allocations: 15.95 kB / 495.2 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.3821, allocations: 3.984 kB / 495.2 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.3821, allocations: 11.94 kB / 495.2 MB, free: 3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.3822, allocations: 0 / 495.2 MB, free: 3 MB / 362.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 () * 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 9.895e-05/0.3823, allocations: 110.8 kB / 495.4 MB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.3823, allocations: 7.906 kB / 495.4 MB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.3823, allocations: 12.03 kB / 495.4 MB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3824, allocations: 0 / 495.4 MB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3824, allocations: 3.953 kB / 495.4 MB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3824, allocations: 4 kB / 495.4 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.3826, allocations: 193.6 kB / 495.6 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3826, allocations: 4 kB / 495.6 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.716e-05/0.3827, allocations: 8 kB / 495.6 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3827, allocations: 0 / 495.6 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3827, allocations: 3.984 kB / 495.6 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3827, allocations: 0 / 495.6 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3827, allocations: 0 / 495.6 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.383, allocations: 171.3 kB / 495.8 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.87e-05/0.383, allocations: 85.05 kB / 495.8 MB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.3831, allocations: 0 / 495.8 MB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.3832, allocations: 8.062 kB / 495.8 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.3832, allocations: 7.922 kB / 495.9 MB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3832, allocations: 4 kB / 495.9 MB, free: 2.293 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.793e-05/0.3833, allocations: 103.3 kB / 496 MB, free: 2.191 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3833, allocations: 4 kB / 496 MB, free: 2.188 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.3836, allocations: 31.8 kB / 496 MB, free: 2.156 MB / 362.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 () * 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.000191/0.3838, allocations: 95.23 kB / 496.1 MB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.3839, allocations: 35.94 kB / 496.1 MB, free: 2.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3839, allocations: 0 / 496.1 MB, free: 2.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.263e-05/0.3839, allocations: 12 kB / 496.1 MB, free: 2.008 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.3842, allocations: 10.47 kB / 496.1 MB, free: 2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.3847, allocations: 178.1 kB / 496.3 MB, free: 1.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.3851, allocations: 0.7043 MB / 497 MB, free: 1.074 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.323e-05/0.3852, allocations: 8.672 kB / 497 MB, free: 1.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.3852, allocations: 11.44 kB / 497 MB, free: 1.055 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3852, allocations: 0 / 497 MB, free: 1.055 MB / 362.7 MB Notification: Performance of Templates: time 0.00322/0.3885, allocations: 0.646 MB / 497.7 MB, free: 424 kB / 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)