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.0009942/0.0009942, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.8622/0.8622, allocations: 177.1 MB / 200.2 MB, free: 5.938 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.0009904/0.0009904, allocations: 152.6 kB / 256.7 MB, free: 13.35 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.02179/0.02179, allocations: 6.662 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.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.293e-06/1.293e-06, allocations: 0 / 446.6 MB, free: 37.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.726e-05, allocations: 2.281 kB / 446.6 MB, free: 37.15 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.002525/0.002542, allocations: 3.532 MB / 450.2 MB, free: 33.6 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009477/0.00349, allocations: 0.9658 MB / 451.1 MB, free: 32.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.003658, allocations: 8 kB / 451.1 MB, free: 32.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.003808, allocations: 83.16 kB / 451.2 MB, free: 32.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.00405, allocations: 170.4 kB / 451.4 MB, free: 32.37 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.004299, allocations: 183.6 kB / 451.6 MB, free: 32.19 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.004602, allocations: 0.6694 MB / 452.2 MB, free: 31.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.004809, allocations: 177.4 kB / 452.4 MB, free: 31.33 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.005064, allocations: 399.2 kB / 452.8 MB, free: 30.94 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.005227, allocations: 203.4 kB / 453 MB, free: 30.74 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.748e-05/0.005275, allocations: 68 kB / 453.1 MB, free: 30.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-05/0.005347, allocations: 79.92 kB / 453.1 MB, free: 30.6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.005405, allocations: 135.5 kB / 453.3 MB, free: 30.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.005534, allocations: 207.6 kB / 453.5 MB, free: 30.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.006048, allocations: 0.7672 MB / 454.2 MB, free: 29.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00605, allocations: 0 / 454.2 MB, free: 29.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006051, allocations: 0 / 454.2 MB, free: 29.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.006057, allocations: 0 / 454.2 MB, free: 29.49 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.0007947/0.006852, allocations: 0.7624 MB / 455 MB, free: 28.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.006884, allocations: 12.03 kB / 455 MB, free: 28.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.007005, allocations: 68.55 kB / 455.1 MB, free: 28.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.007307, allocations: 309.7 kB / 455.4 MB, free: 28.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.007333, allocations: 41.69 kB / 455.4 MB, free: 28.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.007376, allocations: 60.36 kB / 455.5 MB, free: 28.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.007867, allocations: 0.5905 MB / 456.1 MB, free: 27.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.007879, allocations: 192 / 456.1 MB, free: 27.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.007907, allocations: 20.38 kB / 456.1 MB, free: 27.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.007915, allocations: 15.94 kB / 456.1 MB, free: 27.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.008334, allocations: 383.8 kB / 456.5 MB, free: 27.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.009621, allocations: 1.623 MB / 458.1 MB, free: 25.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.01002, allocations: 308.2 kB / 458.4 MB, free: 25.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.01029, allocations: 217.3 kB / 458.6 MB, free: 24.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.0103, allocations: 4.281 kB / 458.6 MB, free: 24.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.01032, allocations: 38.78 kB / 458.7 MB, free: 24.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.292e-06/0.01032, allocations: 0 / 458.7 MB, free: 24.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.002328/0.01265, allocations: 1.582 MB / 460.2 MB, free: 23.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.01267, allocations: 55.91 kB / 460.3 MB, free: 23.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.01283, allocations: 296.1 kB / 460.6 MB, free: 22.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.01285, allocations: 37.7 kB / 460.6 MB, free: 22.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.01292, allocations: 268.9 kB / 460.9 MB, free: 22.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.01297, allocations: 170.5 kB / 461.1 MB, free: 22.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/0.01305, allocations: 86.19 kB / 461.1 MB, free: 22.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.843e-05/0.01309, allocations: 350.7 kB / 461.5 MB, free: 21.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.01327, allocations: 152.9 kB / 461.6 MB, free: 21.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.01347, allocations: 234 kB / 461.9 MB, free: 21.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.01388, allocations: 418.3 kB / 462.3 MB, free: 21.13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01388, allocations: 0 / 462.3 MB, free: 21.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000558/0.01444, allocations: 0.5536 MB / 462.8 MB, free: 20.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.01445, allocations: 4 kB / 462.8 MB, free: 20.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01446, allocations: 4 kB / 462.8 MB, free: 20.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.01464, allocations: 97.61 kB / 462.9 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.01486, allocations: 107.9 kB / 463 MB, free: 20.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.01611, allocations: 3.333 MB / 466.4 MB, free: 16.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.01623, allocations: 20.03 kB / 466.4 MB, free: 16.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.01625, allocations: 19.98 kB / 466.4 MB, free: 16.78 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.0001163/0.01636, allocations: 182 kB / 466.6 MB, free: 16.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.0164, allocations: 43.7 kB / 466.6 MB, free: 16.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.01644, allocations: 47.69 kB / 466.7 MB, free: 16.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01644, allocations: 12.06 kB / 466.7 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01645, allocations: 0 / 466.7 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.01645, allocations: 3.984 kB / 466.7 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008244/0.01728, allocations: 0.9488 MB / 467.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01728, allocations: 4 kB / 467.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.01746, allocations: 87.91 kB / 467.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.01759, allocations: 93.61 kB / 467.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.01761, allocations: 8 kB / 467.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.01868, allocations: 3.322 MB / 471.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01869, allocations: 0 / 471.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.01939, allocations: 0.7706 MB / 471.9 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/0.01946, allocations: 71.7 kB / 472 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.01949, allocations: 15.98 kB / 472 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.01962, allocations: 23.98 kB / 472 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.01967, allocations: 31.94 kB / 472.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.01969, allocations: 20.05 kB / 472.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.628e-05/0.01978, allocations: 203.1 kB / 472.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01978, allocations: 0 / 472.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003495/0.02013, allocations: 123.9 kB / 472.4 MB, free: 10.49 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 7.606e-05/0.02021, allocations: 107.2 kB / 472.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000615/0.02082, allocations: 0.6399 MB / 473.1 MB, free: 9.711 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02083, allocations: 0 / 473.1 MB, free: 9.711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.02114, allocations: 481.7 kB / 473.6 MB, free: 9.215 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.0214, allocations: 53.09 kB / 473.7 MB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009435/0.02234, allocations: 0.996 MB / 474.7 MB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.02245, allocations: 234.5 kB / 474.9 MB, free: 7.879 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/0.02252, allocations: 36.48 kB / 474.9 MB, free: 7.844 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02252, allocations: 4 kB / 474.9 MB, free: 7.84 MB / 330.7 MB Notification: Performance of Templates: time 0.005841/0.02837, allocations: 10.05 MB / 485 MB, free: 13.79 MB / 346.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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.739872597157955] Failed to read output from testmodel.py, exit status != 0: 0.03351749759167433 0.041785135 0.034103333 Calling exit ...