Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.Coupling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1/1, allocations: 177.2 MB / 201 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 153.3 kB / 257.7 MB, free: 12.98 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02427/0.02427, allocations: 6.661 MB / 320.9 MB, free: 26.32 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") translateModel(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 392.9 MB, free: 2.27 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.473e-05, allocations: 9.766 kB / 392.9 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.002475/0.00249, allocations: 2.554 MB / 395.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008209/0.00331, allocations: 0.6076 MB / 396 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.003421, allocations: 11.94 kB / 396 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.003557, allocations: 39.64 kB / 396.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.003668, allocations: 59.42 kB / 396.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.003903, allocations: 75.83 kB / 396.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.004125, allocations: 266.6 kB / 396.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.004265, allocations: 75.22 kB / 396.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.00439, allocations: 155.7 kB / 396.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.004508, allocations: 87.72 kB / 396.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.00454, allocations: 20 kB / 396.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.222e-05/0.004562, allocations: 24 kB / 396.8 MB, free: 14.28 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.004599, allocations: 51.81 kB / 396.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.00466, allocations: 83.81 kB / 397 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.004845, allocations: 183.3 kB / 397.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.004847, allocations: 0 / 397.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004848, allocations: 0 / 397.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.004853, allocations: 0 / 397.1 MB, free: 13.96 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0005024/0.005355, allocations: 0.5508 MB / 397.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.005385, allocations: 12.03 kB / 397.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.005437, allocations: 40.8 kB / 397.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.0056, allocations: 187.9 kB / 397.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.005621, allocations: 16.88 kB / 397.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.00565, allocations: 24.38 kB / 398 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.005882, allocations: 219.4 kB / 398.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.00589, allocations: 3.938 kB / 398.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.005905, allocations: 16 kB / 398.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.00591, allocations: 4 kB / 398.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.646e-05/0.005996, allocations: 75.36 kB / 398.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006654/0.006662, allocations: 0.7809 MB / 399 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.006788, allocations: 91.02 kB / 399.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.006824, allocations: 31.67 kB / 399.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.006838, allocations: 7.938 kB / 399.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.006857, allocations: 37.38 kB / 399.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.006858, allocations: 7.938 kB / 399.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.000511/0.007369, allocations: 345 kB / 399.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.007395, allocations: 55.39 kB / 399.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.007495, allocations: 234.4 kB / 399.8 MB, free: 11.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.007505, allocations: 25.7 kB / 399.9 MB, free: 11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.007579, allocations: 210.9 kB / 400.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.007611, allocations: 59.52 kB / 400.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.007657, allocations: 47.3 kB / 400.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.007783, allocations: 0.4962 MB / 400.7 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.955e-05/0.007812, allocations: 19.98 kB / 400.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-05/0.00787, allocations: 93.67 kB / 400.8 MB, free: 10.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.667e-05/0.007967, allocations: 124.5 kB / 400.9 MB, free: 9.879 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.007968, allocations: 0 / 400.9 MB, free: 9.879 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001399/0.008108, allocations: 141.4 kB / 401 MB, free: 9.734 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.00812, allocations: 8 kB / 401 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.008123, allocations: 0 / 401 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.008131, allocations: 7.984 kB / 401.1 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.008249, allocations: 52.11 kB / 401.1 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.008252, allocations: 4 kB / 401.1 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.008301, allocations: 8 kB / 401.1 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.00831, allocations: 7.984 kB / 401.1 MB, free: 9.648 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.259e-05/0.008382, allocations: 164.5 kB / 401.3 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.008411, allocations: 23.84 kB / 401.3 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.008439, allocations: 17.47 kB / 401.3 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008441, allocations: 4 kB / 401.3 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.008443, allocations: 0 / 401.3 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.008446, allocations: 7.984 kB / 401.3 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.008582, allocations: 153.2 kB / 401.5 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008583, allocations: 0 / 401.5 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.523e-05/0.008668, allocations: 35.92 kB / 401.5 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.008672, allocations: 7.922 kB / 401.5 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.008679, allocations: 4 kB / 401.5 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.00868, allocations: 0 / 401.5 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.00868, allocations: 0 / 401.5 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.008874, allocations: 283.2 kB / 401.8 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.008911, allocations: 27.83 kB / 401.8 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.008925, allocations: 7.969 kB / 401.8 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.924e-05/0.008984, allocations: 8 kB / 401.9 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.009012, allocations: 11.97 kB / 401.9 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.009018, allocations: 4 kB / 401.9 MB, free: 8.848 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.212e-05/0.00907, allocations: 155.8 kB / 402 MB, free: 8.695 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00907, allocations: 0 / 402 MB, free: 8.695 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.009244, allocations: 40 kB / 402.1 MB, free: 8.656 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (converter.i) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.717e-05/0.009301, allocations: 99.19 kB / 402.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.009408, allocations: 91.42 kB / 402.2 MB, free: 8.457 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.009409, allocations: 0 / 402.2 MB, free: 8.457 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.00945, allocations: 47.58 kB / 402.3 MB, free: 8.406 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.00964, allocations: 16 kB / 402.3 MB, free: 8.391 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006866/0.01033, allocations: 433.7 kB / 402.7 MB, free: 7.941 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.788e-05/0.01037, allocations: 75.83 kB / 402.8 MB, free: 7.848 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.157e-05/0.01043, allocations: 21.47 kB / 402.8 MB, free: 7.824 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.01051, allocations: 98.17 kB / 402.9 MB, free: 7.727 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01051, allocations: 0 / 402.9 MB, free: 7.727 MB / 330.7 MB Notification: Performance of Templates: time 0.003056/0.01357, allocations: 1.423 MB / 404.3 MB, free: 6.324 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Magnetic.Coupling.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.Coupling.sim & ./HanserModelica_HanserModelica.Magnetic.Coupling -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.Coupling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0078004230745137]