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.0007425/0.0007425, allocations: 80.48 kB / 19.93 MB, free: 4.629 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 0.8434/0.8434, allocations: 177.2 MB / 200.2 MB, free: 5.945 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.00153/0.00153, allocations: 156.6 kB / 256.7 MB, free: 13.36 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.02159/0.02159, allocations: 6.663 MB / 319.8 MB, free: 26.77 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.483e-06/1.483e-06, allocations: 0 / 446.6 MB, free: 37.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.152e-05, allocations: 2.281 kB / 446.6 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.002039/0.002061, allocations: 2.415 MB / 449.1 MB, free: 34.71 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006262/0.002687, allocations: 0.5999 MB / 449.7 MB, free: 34.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.615e-05/0.002783, allocations: 7.938 kB / 449.7 MB, free: 34.1 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.002893, allocations: 35.64 kB / 449.7 MB, free: 34.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.858e-05/0.002981, allocations: 59.36 kB / 449.8 MB, free: 34.01 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.003183, allocations: 79.88 kB / 449.8 MB, free: 33.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.003352, allocations: 270.8 kB / 450.1 MB, free: 33.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.003491, allocations: 71.23 kB / 450.2 MB, free: 33.6 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.557e-05/0.003587, allocations: 151.7 kB / 450.3 MB, free: 33.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/0.00368, allocations: 83.7 kB / 450.4 MB, free: 33.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.003712, allocations: 24 kB / 450.4 MB, free: 33.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.799e-05/0.00373, allocations: 20 kB / 450.4 MB, free: 33.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.003756, allocations: 55.81 kB / 450.5 MB, free: 33.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.0038, allocations: 87.77 kB / 450.6 MB, free: 33.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.003984, allocations: 275.1 kB / 450.9 MB, free: 32.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.003987, allocations: 0 / 450.9 MB, free: 32.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.003989, allocations: 0 / 450.9 MB, free: 32.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.003994, allocations: 3.938 kB / 450.9 MB, free: 32.91 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.0005223/0.004517, allocations: 453.7 kB / 451.3 MB, free: 32.44 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.004551, allocations: 8.031 kB / 451.3 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.004593, allocations: 32.8 kB / 451.3 MB, free: 32.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.00477, allocations: 178.4 kB / 451.5 MB, free: 32.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.004788, allocations: 16.88 kB / 451.5 MB, free: 32.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.004813, allocations: 24.38 kB / 451.6 MB, free: 32.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.00507, allocations: 265 kB / 451.8 MB, free: 31.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.00508, allocations: 3.938 kB / 451.8 MB, free: 31.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.005097, allocations: 12 kB / 451.8 MB, free: 31.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.005102, allocations: 4 kB / 451.8 MB, free: 31.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.005284, allocations: 161.8 kB / 452 MB, free: 31.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.005906, allocations: 0.7198 MB / 452.7 MB, free: 30.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.006071, allocations: 122.4 kB / 452.8 MB, free: 30.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.006138, allocations: 56.83 kB / 452.9 MB, free: 30.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.006151, allocations: 4 kB / 452.9 MB, free: 30.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.006166, allocations: 30.56 kB / 452.9 MB, free: 30.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.006167, allocations: 0 / 452.9 MB, free: 30.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007184/0.006885, allocations: 452.8 kB / 453.4 MB, free: 30.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.006904, allocations: 51.41 kB / 453.4 MB, free: 30.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/0.006985, allocations: 182.2 kB / 453.6 MB, free: 29.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.006993, allocations: 25.7 kB / 453.6 MB, free: 29.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.007035, allocations: 164.2 kB / 453.8 MB, free: 29.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.007054, allocations: 55.53 kB / 453.8 MB, free: 29.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.007092, allocations: 37.7 kB / 453.9 MB, free: 29.69 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.725e-05/0.007119, allocations: 326.8 kB / 454.2 MB, free: 29.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.515e-05/0.007184, allocations: 47.92 kB / 454.2 MB, free: 29.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.007258, allocations: 101.8 kB / 454.3 MB, free: 29.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.0074, allocations: 152.8 kB / 454.5 MB, free: 29.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.007401, allocations: 4 kB / 454.5 MB, free: 29.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001838/0.007585, allocations: 189.5 kB / 454.7 MB, free: 28.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.007597, allocations: 8 kB / 454.7 MB, free: 28.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007602, allocations: 0 / 454.7 MB, free: 28.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.007614, allocations: 4 kB / 454.7 MB, free: 28.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.007734, allocations: 47.91 kB / 454.7 MB, free: 28.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.00774, allocations: 7.984 kB / 454.7 MB, free: 28.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.013e-05/0.00779, allocations: 8 kB / 454.7 MB, free: 28.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.007797, allocations: 4 kB / 454.8 MB, free: 28.75 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 5.617e-05/0.007853, allocations: 133.8 kB / 454.9 MB, free: 28.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.007871, allocations: 23.86 kB / 454.9 MB, free: 28.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.007899, allocations: 25.45 kB / 454.9 MB, free: 28.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.007901, allocations: 4 kB / 454.9 MB, free: 28.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.007905, allocations: 3.938 kB / 454.9 MB, free: 28.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.007907, allocations: 0 / 454.9 MB, free: 28.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.008022, allocations: 181.2 kB / 455.1 MB, free: 28.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008022, allocations: 4 kB / 455.1 MB, free: 28.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.362e-05/0.008106, allocations: 43.91 kB / 455.2 MB, free: 28.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.008107, allocations: 0 / 455.2 MB, free: 28.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.008115, allocations: 0 / 455.2 MB, free: 28.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.008116, allocations: 4 kB / 455.2 MB, free: 28.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.008117, allocations: 0 / 455.2 MB, free: 28.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.008359, allocations: 298.6 kB / 455.5 MB, free: 27.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.008394, allocations: 23.91 kB / 455.5 MB, free: 27.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.008408, allocations: 4 kB / 455.5 MB, free: 27.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.047e-05/0.008468, allocations: 8 kB / 455.5 MB, free: 27.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.008498, allocations: 7.984 kB / 455.5 MB, free: 27.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.008503, allocations: 0 / 455.5 MB, free: 27.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.334e-05/0.008547, allocations: 136.9 kB / 455.6 MB, free: 27.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008547, allocations: 4.062 kB / 455.6 MB, free: 27.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000168/0.008715, allocations: 40 kB / 455.7 MB, free: 27.77 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.232e-05/0.008767, allocations: 95.25 kB / 455.8 MB, free: 27.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.008946, allocations: 113.9 kB / 455.9 MB, free: 27.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.008947, allocations: 4 kB / 455.9 MB, free: 27.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.306e-05/0.00901, allocations: 60.22 kB / 455.9 MB, free: 27.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.0092, allocations: 23.94 kB / 456 MB, free: 27.47 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004959/0.009696, allocations: 463.2 kB / 456.4 MB, free: 26.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.083e-05/0.009746, allocations: 121.1 kB / 456.5 MB, free: 26.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.009786, allocations: 28.47 kB / 456.6 MB, free: 26.82 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009786, allocations: 0 / 456.6 MB, free: 26.82 MB / 330.7 MB Notification: Performance of Templates: time 0.002165/0.01195, allocations: 2.229 MB / 458.8 MB, free: 24.59 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: 4.093601883389056] Failed to read output from testmodel.py, exit status != 0: 0.016186555847525597 0.021530757 0.016335209 Calling exit ...