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.001395/0.001395, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.397/1.397, allocations: 177.2 MB / 199.4 MB, free: 8.445 MB / 190.1 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.001642/0.001642, allocations: 157.6 kB / 256 MB, free: 4.328 MB / 238.1 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.04044/0.04044, allocations: 6.66 MB / 319 MB, free: 5.387 MB / 302.1 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.323e-06/1.323e-06, allocations: 0 / 445.9 MB, free: 25.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.875e-05, allocations: 6.219 kB / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.003443/0.003462, allocations: 3.531 MB / 449.4 MB, free: 21.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.004712, allocations: 0.9502 MB / 450.4 MB, free: 20.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.004905, allocations: 11.94 kB / 450.4 MB, free: 20.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.005084, allocations: 95.08 kB / 450.5 MB, free: 20.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.005397, allocations: 158.5 kB / 450.6 MB, free: 20.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.005715, allocations: 191.6 kB / 450.8 MB, free: 20.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.006137, allocations: 0.6654 MB / 451.5 MB, free: 19.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.006388, allocations: 189.4 kB / 451.7 MB, free: 19.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003522/0.00674, allocations: 395.2 kB / 452 MB, free: 19.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.006968, allocations: 203.4 kB / 452.2 MB, free: 18.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.738e-05/0.007036, allocations: 68 kB / 452.3 MB, free: 18.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.00714, allocations: 72 kB / 452.4 MB, free: 18.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/0.007211, allocations: 135.6 kB / 452.5 MB, free: 18.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.007362, allocations: 215.5 kB / 452.7 MB, free: 18.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.007874, allocations: 0.7595 MB / 453.5 MB, free: 17.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.007876, allocations: 0 / 453.5 MB, free: 17.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.007877, allocations: 3.938 kB / 453.5 MB, free: 17.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.007884, allocations: 4 kB / 453.5 MB, free: 17.56 MB / 334.1 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.001134/0.009018, allocations: 0.7624 MB / 454.3 MB, free: 16.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.009049, allocations: 11.98 kB / 454.3 MB, free: 16.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.009234, allocations: 72.55 kB / 454.3 MB, free: 16.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.009626, allocations: 309.7 kB / 454.6 MB, free: 16.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.009659, allocations: 41.69 kB / 454.7 MB, free: 16.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/0.009718, allocations: 52.38 kB / 454.7 MB, free: 16.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007664/0.01048, allocations: 0.5944 MB / 455.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.0105, allocations: 192 / 455.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.01054, allocations: 24.38 kB / 455.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.01056, allocations: 15.94 kB / 455.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006967/0.01125, allocations: 383.8 kB / 455.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.01329, allocations: 1.627 MB / 457.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.01389, allocations: 287.5 kB / 457.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.01437, allocations: 216.4 kB / 457.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.01439, allocations: 4.281 kB / 457.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.0144, allocations: 42.78 kB / 457.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.01441, allocations: 0 / 457.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.004143/0.01855, allocations: 1.588 MB / 459.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.01857, allocations: 55.91 kB / 459.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.0188, allocations: 300.1 kB / 459.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.01882, allocations: 33.64 kB / 459.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.01891, allocations: 272.9 kB / 460.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/0.01899, allocations: 174.4 kB / 460.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.0191, allocations: 82.19 kB / 460.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.01916, allocations: 350.7 kB / 460.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.01949, allocations: 156.9 kB / 460.9 MB, free: 9.887 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.01983, allocations: 241.9 kB / 461.1 MB, free: 9.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000665/0.0205, allocations: 410.4 kB / 461.5 MB, free: 9.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.0205, allocations: 0 / 461.5 MB, free: 9.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009741/0.02148, allocations: 0.5497 MB / 462.1 MB, free: 8.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.02149, allocations: 8 kB / 462.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.0215, allocations: 4 kB / 462.1 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002698/0.02177, allocations: 101.6 kB / 462.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.02222, allocations: 104 kB / 462.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.02425, allocations: 3.322 MB / 465.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.02455, allocations: 19.98 kB / 465.6 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.02458, allocations: 16 kB / 465.6 MB, free: 4.848 MB / 334.1 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.0001916/0.02477, allocations: 181.7 kB / 465.8 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.458e-05/0.02483, allocations: 39.7 kB / 465.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.804e-05/0.02492, allocations: 51.69 kB / 465.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.02492, allocations: 4.062 kB / 465.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.02493, allocations: 8 kB / 465.9 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.02494, allocations: 3.984 kB / 465.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.0263, allocations: 0.9527 MB / 466.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.0263, allocations: 0 / 466.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.02669, allocations: 83.91 kB / 467 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/0.02691, allocations: 93.67 kB / 467.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.02694, allocations: 15.98 kB / 467.1 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.02901, allocations: 3.317 MB / 470.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.02902, allocations: 3.938 kB / 470.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.03059, allocations: 0.7706 MB / 471.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.03075, allocations: 71.69 kB / 471.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/0.03081, allocations: 12.25 kB / 471.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.03111, allocations: 23.98 kB / 471.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.03122, allocations: 43.86 kB / 471.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.03125, allocations: 16.06 kB / 471.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002412/0.03149, allocations: 211 kB / 471.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03149, allocations: 0 / 471.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006606/0.03215, allocations: 120 kB / 471.6 MB, free: 14.55 MB / 350.1 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.0001535/0.03231, allocations: 99.19 kB / 471.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.03362, allocations: 0.6439 MB / 472.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.03362, allocations: 3.938 kB / 472.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008083/0.03443, allocations: 477.7 kB / 472.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.03482, allocations: 40.97 kB / 472.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.03667, allocations: 0.9786 MB / 473.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.03692, allocations: 234.5 kB / 474.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001697/0.03709, allocations: 43.25 kB / 474.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.03719, allocations: 32.5 kB / 474.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.03719, allocations: 0 / 474.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of Templates: time 0.01088/0.04807, allocations: 4.648 MB / 478.8 MB, free: 7.32 MB / 350.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.696136221289635] Failed to read output from testmodel.py, exit status != 0: 0.055138085037469864 0.22779372 0.21728371700000002 Calling exit ...