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.001341/0.001341, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.087/1.087, allocations: 177.2 MB / 200.5 MB, free: 5.504 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.001205/0.001205, allocations: 163.5 kB / 257 MB, free: 13.02 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.02407/0.02407, allocations: 6.658 MB / 320.1 MB, free: 26.58 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.743e-06/1.743e-06, allocations: 0 / 391.6 MB, free: 2.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.339e-05, allocations: 6.25 kB / 391.6 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.003085/0.003119, allocations: 2.561 MB / 394.2 MB, free: 404 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009743/0.004093, allocations: 0.6077 MB / 394.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.004196, allocations: 7.938 kB / 394.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.004329, allocations: 39.64 kB / 394.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.004455, allocations: 71.34 kB / 394.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.004725, allocations: 71.83 kB / 395 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.00496, allocations: 274.6 kB / 395.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.005119, allocations: 67.3 kB / 395.3 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.005257, allocations: 155.6 kB / 395.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.005381, allocations: 83.78 kB / 395.6 MB, free: 15.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.005414, allocations: 20 kB / 395.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.586e-05/0.00544, allocations: 24 kB / 395.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.005483, allocations: 59.73 kB / 395.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/0.005559, allocations: 83.83 kB / 395.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.005779, allocations: 179.4 kB / 395.9 MB, free: 14.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005781, allocations: 0 / 395.9 MB, free: 14.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005782, allocations: 0 / 395.9 MB, free: 14.67 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.005787, allocations: 0 / 395.9 MB, free: 14.67 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.0006212/0.006408, allocations: 0.5469 MB / 396.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.00645, allocations: 12.03 kB / 396.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.917e-05/0.00653, allocations: 44.8 kB / 396.5 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.006754, allocations: 193.2 kB / 396.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.006783, allocations: 20.88 kB / 396.7 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.006817, allocations: 20.38 kB / 396.8 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.007114, allocations: 239.4 kB / 397 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.007124, allocations: 3.938 kB / 397 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.007142, allocations: 8 kB / 397 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.007152, allocations: 8 kB / 397 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.00729, allocations: 86.88 kB / 397.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008355/0.008126, allocations: 0.8155 MB / 397.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.008291, allocations: 98.97 kB / 398 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.00835, allocations: 39.66 kB / 398 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.008365, allocations: 0 / 398 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.008392, allocations: 45.39 kB / 398.1 MB, free: 12.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.008393, allocations: 0 / 398.1 MB, free: 12.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007677/0.009161, allocations: 392.1 kB / 398.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.009197, allocations: 59.34 kB / 398.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.009394, allocations: 230.5 kB / 398.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.009423, allocations: 29.7 kB / 398.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.009557, allocations: 210.9 kB / 399 MB, free: 11.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/0.009611, allocations: 55.53 kB / 399 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.00967, allocations: 51.31 kB / 399.1 MB, free: 11.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.0098, allocations: 0.4923 MB / 399.6 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/0.009849, allocations: 23.98 kB / 399.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.009927, allocations: 97.69 kB / 399.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.01006, allocations: 140.7 kB / 399.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.01006, allocations: 0 / 399.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001766/0.01024, allocations: 149.5 kB / 400 MB, free: 10.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.01025, allocations: 8 kB / 400 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01026, allocations: 0 / 400 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.01027, allocations: 7.984 kB / 400 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.01042, allocations: 47.92 kB / 400 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.01043, allocations: 7.984 kB / 400.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.231e-05/0.01048, allocations: 8.125 kB / 400.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.01049, allocations: 12 kB / 400.1 MB, free: 10.18 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 9.223e-05/0.01059, allocations: 172.4 kB / 400.2 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.01062, allocations: 19.95 kB / 400.3 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.01066, allocations: 17.47 kB / 400.3 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01066, allocations: 0 / 400.3 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01066, allocations: 0 / 400.3 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.01067, allocations: 3.984 kB / 400.3 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.01085, allocations: 196.5 kB / 400.5 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01085, allocations: 0 / 400.5 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.859e-05/0.01095, allocations: 39.92 kB / 400.5 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01095, allocations: 0 / 400.5 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.01097, allocations: 8 kB / 400.5 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01097, allocations: 0 / 400.5 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01097, allocations: 0 / 400.5 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.01125, allocations: 287.7 kB / 400.8 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.01129, allocations: 19.89 kB / 400.8 MB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.01131, allocations: 11.98 kB / 400.8 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.01138, allocations: 4 kB / 400.8 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.01142, allocations: 11.98 kB / 400.9 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.01143, allocations: 4.031 kB / 400.9 MB, free: 9.336 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.156e-05/0.01151, allocations: 163.8 kB / 401 MB, free: 9.176 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01151, allocations: 0 / 401 MB, free: 9.176 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000193/0.0117, allocations: 40 kB / 401.1 MB, free: 9.137 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 9.41e-05/0.0118, allocations: 99.19 kB / 401.2 MB, free: 9.031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.012, allocations: 95.42 kB / 401.2 MB, free: 8.934 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.012, allocations: 4 kB / 401.2 MB, free: 8.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.277e-05/0.01206, allocations: 43.98 kB / 401.3 MB, free: 8.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.01228, allocations: 35.58 kB / 401.3 MB, free: 8.852 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008116/0.01309, allocations: 429.4 kB / 401.7 MB, free: 8.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.349e-05/0.01314, allocations: 75.83 kB / 401.8 MB, free: 8.312 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.034e-05/0.01319, allocations: 13.48 kB / 401.8 MB, free: 8.301 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.01324, allocations: 20.5 kB / 401.9 MB, free: 8.281 MB / 330.7 MB Notification: Performance of SimCode: time 1.233e-06/0.01324, allocations: 0 / 401.9 MB, free: 8.281 MB / 330.7 MB Notification: Performance of Templates: time 0.00329/0.01653, allocations: 1.301 MB / 403.2 MB, free: 7 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.0296749758999795]