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.001861/0.001861, allocations: 88.72 kB / 19.44 MB, free: 356 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.62/1.62, allocations: 177.1 MB / 199.7 MB, free: 5.824 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.001795/0.001795, allocations: 152.7 kB / 256.3 MB, free: 13.18 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.03761/0.03761, allocations: 6.664 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 2.304e-06/2.304e-06, allocations: 0 / 390.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.206e-05/4.436e-05, allocations: 6.25 kB / 390.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.005018/0.005063, allocations: 2.421 MB / 393.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.006789, allocations: 0.6153 MB / 393.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.006994, allocations: 4 kB / 393.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.007193, allocations: 31.66 kB / 394 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.007429, allocations: 67.41 kB / 394 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.007802, allocations: 71.84 kB / 394.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.008225, allocations: 266.6 kB / 394.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002654/0.008491, allocations: 79.17 kB / 394.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.008803, allocations: 151.7 kB / 394.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.009008, allocations: 83.7 kB / 394.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.824e-05/0.009066, allocations: 20 kB / 394.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.744e-05/0.009114, allocations: 24 kB / 394.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.009198, allocations: 55.83 kB / 394.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.009338, allocations: 83.81 kB / 394.9 MB, free: 15 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.00981, allocations: 279.1 kB / 395.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.009817, allocations: 0 / 395.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.009818, allocations: 0 / 395.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.00983, allocations: 4 kB / 395.1 MB, free: 14.73 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.001098/0.01093, allocations: 453.7 kB / 395.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.01098, allocations: 12.03 kB / 395.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.01111, allocations: 40.8 kB / 395.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.0115, allocations: 182.4 kB / 395.8 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.01153, allocations: 16.88 kB / 395.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.01159, allocations: 24.38 kB / 395.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006028/0.0122, allocations: 269 kB / 396.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.01221, allocations: 7.922 kB / 396.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.01224, allocations: 8 kB / 396.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.01225, allocations: 4 kB / 396.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.01265, allocations: 161.9 kB / 396.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.01419, allocations: 0.7316 MB / 397 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.01455, allocations: 118.5 kB / 397.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.0147, allocations: 56.83 kB / 397.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.01473, allocations: 4 kB / 397.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.01477, allocations: 30.56 kB / 397.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.365e-06/0.01477, allocations: 0 / 397.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.001593/0.01636, allocations: 460.7 kB / 397.7 MB, free: 12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.01643, allocations: 59.41 kB / 397.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.01667, allocations: 175.2 kB / 397.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.0167, allocations: 25.7 kB / 397.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.01686, allocations: 164.2 kB / 398.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.01692, allocations: 55.58 kB / 398.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.01703, allocations: 45.66 kB / 398.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.01723, allocations: 322.8 kB / 398.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.01737, allocations: 39.98 kB / 398.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.01758, allocations: 97.97 kB / 398.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.01793, allocations: 157.7 kB / 398.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01793, allocations: 0 / 398.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004891/0.01842, allocations: 196.2 kB / 399 MB, free: 10.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.01845, allocations: 8 kB / 399 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.01846, allocations: 0 / 399 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/0.01849, allocations: 4 kB / 399 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.01874, allocations: 47.91 kB / 399 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.01876, allocations: 4 kB / 399 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.0189, allocations: 8 kB / 399 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.01891, allocations: 4 kB / 399.1 MB, free: 10.52 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.0001944/0.01911, allocations: 141.9 kB / 399.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.01916, allocations: 19.91 kB / 399.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.629e-05/0.01923, allocations: 21.45 kB / 399.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01923, allocations: 0 / 399.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.01924, allocations: 0 / 399.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01925, allocations: 4 kB / 399.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.01958, allocations: 185.2 kB / 399.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01958, allocations: 0 / 399.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.01978, allocations: 39.91 kB / 399.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.01978, allocations: 0 / 399.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.0198, allocations: 8 kB / 399.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01981, allocations: 0 / 399.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.01981, allocations: 4 kB / 399.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006434/0.02046, allocations: 299.3 kB / 399.8 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.152e-05/0.02054, allocations: 23.92 kB / 399.8 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.02056, allocations: 3.938 kB / 399.8 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.0207, allocations: 8 kB / 399.8 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.02077, allocations: 7.984 kB / 399.8 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.02079, allocations: 15.98 kB / 399.8 MB, free: 9.695 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.02094, allocations: 124 kB / 399.9 MB, free: 9.574 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02094, allocations: 0 / 399.9 MB, free: 9.574 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003353/0.02127, allocations: 40 kB / 400 MB, free: 9.535 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.0001553/0.02143, allocations: 95.25 kB / 400.1 MB, free: 9.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.02184, allocations: 115.7 kB / 400.2 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02184, allocations: 384 / 400.2 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.02198, allocations: 63.06 kB / 400.2 MB, free: 9.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.02233, allocations: 19.88 kB / 400.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.02358, allocations: 447.4 kB / 400.7 MB, free: 8.781 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.02375, allocations: 121.1 kB / 400.8 MB, free: 8.645 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.694e-05/0.02385, allocations: 17.48 kB / 400.8 MB, free: 8.629 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.02391, allocations: 20.5 kB / 400.9 MB, free: 8.609 MB / 330.7 MB Notification: Performance of SimCode: time 1.273e-06/0.02391, allocations: 0 / 400.9 MB, free: 8.609 MB / 330.7 MB Notification: Performance of Templates: time 0.005557/0.02947, allocations: 1.295 MB / 402.2 MB, free: 7.348 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.Coupling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.484821820980869]