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.002379/0.002379, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.768/1.768, allocations: 177.1 MB / 199.7 MB, free: 5.801 MB / 186.7 MB " [Timeout remaining time 178] 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.002246/0.002246, allocations: 164.5 kB / 256.3 MB, free: 13.16 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.0404/0.0404, allocations: 6.653 MB / 319.4 MB, free: 26.56 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.663e-06/1.663e-06, allocations: 0 / 390.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.108e-05/3.274e-05, allocations: 2.312 kB / 390.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.004292/0.004325, allocations: 2.519 MB / 393.4 MB, free: 444 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.005607, allocations: 0.6115 MB / 394 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.005735, allocations: 4 kB / 394 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.005893, allocations: 39.58 kB / 394.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.006057, allocations: 71.36 kB / 394.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.006327, allocations: 59.91 kB / 394.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.006666, allocations: 274.6 kB / 394.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.006857, allocations: 75.23 kB / 394.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.007061, allocations: 151.7 kB / 394.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.007349, allocations: 83.75 kB / 394.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.0074, allocations: 27.94 kB / 394.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.991e-05/0.007449, allocations: 24 kB / 394.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.007511, allocations: 51.77 kB / 394.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.007623, allocations: 87.83 kB / 395 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.008024, allocations: 275.1 kB / 395.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.008028, allocations: 0 / 395.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008029, allocations: 0 / 395.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.008036, allocations: 3.938 kB / 395.2 MB, free: 14.61 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.0009466/0.008982, allocations: 0.5583 MB / 395.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.009023, allocations: 12.03 kB / 395.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.749e-05/0.009121, allocations: 52.77 kB / 395.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.00942, allocations: 184.3 kB / 396 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.009452, allocations: 24.81 kB / 396.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.009498, allocations: 28.36 kB / 396.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.009986, allocations: 266.7 kB / 396.4 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.01, allocations: 3.938 kB / 396.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.01003, allocations: 12 kB / 396.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.01004, allocations: 4 kB / 396.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.01038, allocations: 153.9 kB / 396.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.01179, allocations: 0.8741 MB / 397.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.01209, allocations: 126.9 kB / 397.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.01221, allocations: 51.67 kB / 397.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.01224, allocations: 4 kB / 397.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.01228, allocations: 41.38 kB / 397.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.01228, allocations: 0 / 397.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.001263/0.01354, allocations: 456.6 kB / 398.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.01358, allocations: 51.41 kB / 398.1 MB, free: 11.53 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.01383, allocations: 250.5 kB / 398.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.01385, allocations: 29.7 kB / 398.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.014, allocations: 214.9 kB / 398.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.01406, allocations: 55.53 kB / 398.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.155e-05/0.01415, allocations: 55.31 kB / 398.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002658/0.01441, allocations: 0.504 MB / 399.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.01454, allocations: 39.98 kB / 399.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.01472, allocations: 117.8 kB / 399.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.01504, allocations: 181.5 kB / 399.5 MB, free: 9.984 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01504, allocations: 0 / 399.5 MB, free: 9.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000388/0.01542, allocations: 188.1 kB / 399.7 MB, free: 9.797 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.01545, allocations: 8 kB / 399.7 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01545, allocations: 0 / 399.7 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.01547, allocations: 8.188 kB / 399.7 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.01569, allocations: 47.91 kB / 399.8 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.01571, allocations: 7.984 kB / 399.8 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.784e-05/0.01581, allocations: 12 kB / 399.8 MB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.01582, allocations: 4 kB / 399.8 MB, free: 9.711 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 0.0001705/0.01599, allocations: 188.5 kB / 400 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.01604, allocations: 19.89 kB / 400 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.937e-05/0.0161, allocations: 25.45 kB / 400 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.0161, allocations: 0 / 400 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.01611, allocations: 8 kB / 400 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01611, allocations: 0 / 400 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.01643, allocations: 216.5 kB / 400.3 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01643, allocations: 0 / 400.3 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.01661, allocations: 35.97 kB / 400.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01661, allocations: 0 / 400.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.01663, allocations: 8 kB / 400.3 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.01663, allocations: 4 kB / 400.3 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01663, allocations: 0 / 400.3 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.01715, allocations: 347.6 kB / 400.6 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.01722, allocations: 27.89 kB / 400.7 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.01724, allocations: 0 / 400.7 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.01737, allocations: 8 kB / 400.7 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.01742, allocations: 11.97 kB / 400.7 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.01743, allocations: 4 kB / 400.7 MB, free: 8.758 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.01757, allocations: 176.8 kB / 400.9 MB, free: 8.586 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01757, allocations: 0 / 400.9 MB, free: 8.586 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.01785, allocations: 40 kB / 400.9 MB, free: 8.547 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 0.0001203/0.01797, allocations: 99.22 kB / 401 MB, free: 8.441 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003438/0.01831, allocations: 138.5 kB / 401.1 MB, free: 8.305 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01831, allocations: 0 / 401.1 MB, free: 8.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.01845, allocations: 67.55 kB / 401.2 MB, free: 8.234 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.01875, allocations: 31.23 kB / 401.2 MB, free: 8.207 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.01971, allocations: 445.8 kB / 401.7 MB, free: 7.746 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.01996, allocations: 125.1 kB / 401.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.798e-05/0.02004, allocations: 17.47 kB / 401.8 MB, free: 7.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.02009, allocations: 16.5 kB / 401.8 MB, free: 7.574 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02009, allocations: 4 kB / 401.8 MB, free: 7.57 MB / 330.7 MB Notification: Performance of Templates: time 0.004941/0.02503, allocations: 1.292 MB / 403.1 MB, free: 6.309 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: 5.0257939549628645]