Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.TestTransformer.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.001008/0.001008, allocations: 93.06 kB / 19.65 MB, free: 280 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.008/1.008, allocations: 177.2 MB / 200 MB, free: 5.539 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.001322/0.001322, allocations: 160.6 kB / 256.6 MB, free: 13 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.02444/0.02444, allocations: 6.662 MB / 319.8 MB, free: 26.53 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.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 391.6 MB, free: 2.609 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.485e-05, allocations: 2.312 kB / 391.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.003874/0.003899, allocations: 3.834 MB / 395.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.005207, allocations: 0.9813 MB / 396.4 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.005391, allocations: 11.94 kB / 396.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.005565, allocations: 83.14 kB / 396.5 MB, free: 13.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.005855, allocations: 170.5 kB / 396.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.006139, allocations: 183.6 kB / 396.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004562/0.006596, allocations: 0.6654 MB / 397.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.006841, allocations: 189.4 kB / 397.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003603/0.007201, allocations: 403.2 kB / 398.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.007432, allocations: 215.4 kB / 398.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.917e-05/0.007501, allocations: 68 kB / 398.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.649e-05/0.007587, allocations: 68 kB / 398.5 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.007659, allocations: 143.5 kB / 398.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.007797, allocations: 215.5 kB / 398.8 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.008186, allocations: 454.3 kB / 399.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.008189, allocations: 0 / 399.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.00819, allocations: 0 / 399.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.008196, allocations: 0 / 399.2 MB, free: 10.92 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0008792/0.009075, allocations: 0.8662 MB / 400.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.00911, allocations: 12.03 kB / 400.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.009292, allocations: 108.5 kB / 400.2 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.009633, allocations: 316.5 kB / 400.5 MB, free: 9.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.00967, allocations: 41.69 kB / 400.6 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.009727, allocations: 48.38 kB / 400.6 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.01025, allocations: 0.4901 MB / 401.1 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.01026, allocations: 4.188 kB / 401.1 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.01029, allocations: 20.38 kB / 401.1 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.01031, allocations: 15.94 kB / 401.2 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.01062, allocations: 201.8 kB / 401.4 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.01233, allocations: 1.713 MB / 403.1 MB, free: 6.898 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.01269, allocations: 243.1 kB / 403.3 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.01294, allocations: 162.7 kB / 403.5 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.01296, allocations: 8.281 kB / 403.5 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.01299, allocations: 49.61 kB / 403.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.453e-06/0.01299, allocations: 0 / 403.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.002092/0.01508, allocations: 1.213 MB / 404.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.01511, allocations: 59.84 kB / 404.8 MB, free: 5.098 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.01532, allocations: 330.2 kB / 405.1 MB, free: 4.762 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.01534, allocations: 29.7 kB / 405.1 MB, free: 4.727 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.01548, allocations: 323.5 kB / 405.5 MB, free: 4.406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.278e-05/0.01556, allocations: 166.6 kB / 405.6 MB, free: 4.242 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.01566, allocations: 95.8 kB / 405.7 MB, free: 4.141 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.01579, allocations: 0.5156 MB / 406.2 MB, free: 3.613 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.01591, allocations: 68.95 kB / 406.3 MB, free: 3.547 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.01608, allocations: 186.3 kB / 406.5 MB, free: 3.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.01638, allocations: 286.7 kB / 406.8 MB, free: 3.004 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01638, allocations: 4 kB / 406.8 MB, free: 3 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004977/0.01688, allocations: 416.6 kB / 407.2 MB, free: 2.578 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.0169, allocations: 12.03 kB / 407.2 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.0169, allocations: 3.984 kB / 407.2 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/0.01714, allocations: 95.25 kB / 407.3 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.01738, allocations: 103.9 kB / 407.4 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1293/0.1467, allocations: 4.269 MB / 411.6 MB, free: 78.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.147, allocations: 13.95 kB / 411.7 MB, free: 78.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.147, allocations: 17.77 kB / 411.7 MB, free: 78.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.1472, allocations: 184 kB / 411.9 MB, free: 77.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.1473, allocations: 51.86 kB / 411.9 MB, free: 77.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.1473, allocations: 50.84 kB / 412 MB, free: 77.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1473, allocations: 4.312 kB / 412 MB, free: 77.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.1473, allocations: 6.156 kB / 412 MB, free: 77.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1474, allocations: 3.938 kB / 412 MB, free: 77.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.1484, allocations: 0.8419 MB / 412.8 MB, free: 77.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1484, allocations: 1.25 kB / 412.8 MB, free: 77.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.1486, allocations: 78.28 kB / 412.9 MB, free: 77.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002154/0.1488, allocations: 89.28 kB / 413 MB, free: 77.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.1488, allocations: 16.09 kB / 413 MB, free: 77.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.1503, allocations: 4.264 MB / 417.3 MB, free: 73.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1503, allocations: 4.75 kB / 417.3 MB, free: 73.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.1509, allocations: 0.5934 MB / 417.9 MB, free: 73.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.151, allocations: 73.94 kB / 417.9 MB, free: 73.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.1511, allocations: 12.75 kB / 417.9 MB, free: 73.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1512, allocations: 24.38 kB / 418 MB, free: 73.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/0.1513, allocations: 34.86 kB / 418 MB, free: 73.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.1513, allocations: 17.62 kB / 418 MB, free: 73.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001382/0.1515, allocations: 220.3 kB / 418.2 MB, free: 73.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1515, allocations: 1.531 kB / 418.2 MB, free: 73.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004634/0.1519, allocations: 123.5 kB / 418.4 MB, free: 73.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (transformer.converter1.i,transformer.eddyCurrent.Phi) * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000104/0.152, allocations: 104.6 kB / 418.5 MB, free: 73.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006576/0.1527, allocations: 0.64 MB / 419.1 MB, free: 72.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1527, allocations: 0 / 419.1 MB, free: 72.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.1531, allocations: 0.5262 MB / 419.6 MB, free: 72.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.1534, allocations: 52.33 kB / 419.7 MB, free: 72.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1548, allocations: 0.9226 MB / 420.6 MB, free: 72.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.603e-05/0.1549, allocations: 123.8 kB / 420.7 MB, free: 72.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.155, allocations: 42.8 kB / 420.8 MB, free: 72.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.1551, allocations: 32.42 kB / 420.8 MB, free: 72.04 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1551, allocations: 0 / 420.8 MB, free: 72.04 MB / 330.7 MB Notification: Performance of Templates: time 0.008199/0.1633, allocations: 4.735 MB / 425.5 MB, free: 71.41 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Magnetic.TestTransformer.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.TestTransformer.sim & ./HanserModelica_HanserModelica.Magnetic.TestTransformer -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2364015029743314]