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.005012/0.005012, allocations: 171.1 kB / 15.11 MB, free: 6.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03723/0.03724, allocations: 8.799 MB / 24.65 MB, free: 4.16 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.212/1.212, allocations: 223.2 MB / 250.7 MB, free: 4.809 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.0008773/0.0008772, allocations: 97.23 kB / 304 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 8 kB / 367.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08568/0.08601, allocations: 52.55 MB / 419.6 MB, free: 2.199 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2261/0.3122, allocations: 76.14 MB / 495.8 MB, free: 352 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.3124, allocations: 65.56 kB / 495.8 MB, free: 292 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0007688/0.3132, allocations: 430.9 kB / 496.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3132, allocations: 0 / 496.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3133, allocations: 0.9375 kB / 496.2 MB, free: 15.86 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.0002432/0.3135, allocations: 324.3 kB / 496.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3136, allocations: 12.56 kB / 496.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.3136, allocations: 6.75 kB / 496.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.528e-05/0.3137, allocations: 164.8 kB / 496.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.3137, allocations: 4 kB / 496.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.3137, allocations: 0 / 496.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.642e-05/0.3138, allocations: 37.69 kB / 496.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.3138, allocations: 0.5 kB / 496.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.3139, allocations: 0.7812 kB / 496.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.3139, allocations: 1.031 kB / 496.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.567e-05/0.3139, allocations: 9.703 kB / 496.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.3141, allocations: 155 kB / 496.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.691e-05/0.3141, allocations: 43.44 kB / 497 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.3141, allocations: 0.875 kB / 497 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.3142, allocations: 35.12 kB / 497 MB, free: 14.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3142, allocations: 0 / 497 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001262/0.3143, allocations: 48.28 kB / 497.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.3143, allocations: 56.72 kB / 497.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.604e-05/0.3144, allocations: 89 kB / 497.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.3144, allocations: 25.7 kB / 497.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.3145, allocations: 85.39 kB / 497.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.3145, allocations: 20.36 kB / 497.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.3145, allocations: 1 kB / 497.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.3146, allocations: 314.8 kB / 497.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/0.3147, allocations: 8.844 kB / 497.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.538e-05/0.3147, allocations: 4.547 kB / 497.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.111e-05/0.3147, allocations: 13.27 kB / 497.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3147, allocations: 1.5 kB / 497.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.118e-05/0.3148, allocations: 41.7 kB / 497.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3148, allocations: 4 kB / 497.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.3148, allocations: 3.938 kB / 497.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3148, allocations: 8.828 kB / 497.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/0.3149, allocations: 7.938 kB / 497.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.3149, allocations: 6.125 kB / 497.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.647e-05/0.315, allocations: 6.5 kB / 497.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-06/0.315, allocations: 0 / 497.8 MB, free: 14.18 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 () * 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 6.506e-05/0.315, allocations: 109.8 kB / 497.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.3151, allocations: 8.5 kB / 497.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.3151, allocations: 4.25 kB / 497.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.3151, allocations: 0 / 497.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3151, allocations: 6.328 kB / 497.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3151, allocations: 0 / 497.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.908e-05/0.3152, allocations: 154.4 kB / 498 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3152, allocations: 0 / 498 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.616e-05/0.3153, allocations: 13.73 kB / 498 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3153, allocations: 0 / 498 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3153, allocations: 4 kB / 498 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3153, allocations: 0.5625 kB / 498 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3153, allocations: 2.5 kB / 498 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.3155, allocations: 86.56 kB / 498.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.3155, allocations: 81.09 kB / 498.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.3155, allocations: 0 / 498.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.838e-05/0.3155, allocations: 2 kB / 498.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.3156, allocations: 4.031 kB / 498.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.3156, allocations: 0 / 498.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.741e-05/0.3156, allocations: 81.62 kB / 498.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3156, allocations: 4 kB / 498.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.3158, allocations: 0 / 498.3 MB, free: 13.55 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 () * 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.0001031/0.3159, allocations: 103.2 kB / 498.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.918e-05/0.316, allocations: 14.58 kB / 498.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.316, allocations: 5.656 kB / 498.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.316, allocations: 7.938 kB / 498.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.4e-05/0.3161, allocations: 3.953 kB / 498.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.3163, allocations: 121.3 kB / 498.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.3165, allocations: 0.6825 MB / 499.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.65e-05/0.3165, allocations: 4.547 kB / 499.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/0.3166, allocations: 7.438 kB / 499.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3166, allocations: 1.188 kB / 499.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of Templates: time 0.001581/0.3182, allocations: 230.9 kB / 499.5 MB, free: 12.37 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)