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.001418/0.001418, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.426/1.426, allocations: 177.2 MB / 200.1 MB, free: 8.32 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.001635/0.001635, allocations: 161.8 kB / 256.6 MB, free: 4.289 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.04063/0.04063, allocations: 6.664 MB / 319.6 MB, free: 5.363 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002702/0.002702, allocations: 79.88 kB / 446.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1082, allocations: 55.59 MB / 0.4902 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.005179/0.1133, allocations: 3.52 MB / 0.4937 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1152, allocations: 0.9542 MB / 0.4946 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000205/0.1154, allocations: 11.94 kB / 0.4946 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.1156, allocations: 91.09 kB / 0.4947 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.116, allocations: 154.6 kB / 0.4948 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.1164, allocations: 183.7 kB / 0.495 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006913/0.1171, allocations: 0.6464 MB / 0.4957 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003375/0.1175, allocations: 181.4 kB / 0.4958 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.1178, allocations: 271.1 kB / 0.4961 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.1182, allocations: 234.9 kB / 0.4963 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.019e-05/0.1182, allocations: 68 kB / 0.4964 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1184, allocations: 68 kB / 0.4964 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.1185, allocations: 143.5 kB / 0.4966 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002529/0.1188, allocations: 247 kB / 0.4968 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000801/0.1196, allocations: 0.7471 MB / 0.4975 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1196, allocations: 0 / 0.4975 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1196, allocations: 0 / 0.4975 GB, free: 11.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.1196, allocations: 3.938 kB / 0.4975 GB, free: 11.2 MB / 430.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.001467/0.121, allocations: 0.7741 MB / 0.4983 GB, free: 10.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1211, allocations: 8.031 kB / 0.4983 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.1213, allocations: 68.56 kB / 0.4984 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005663/0.1219, allocations: 318.3 kB / 0.4987 GB, free: 9.984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.1219, allocations: 41.69 kB / 0.4987 GB, free: 9.945 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.608e-05/0.122, allocations: 56.38 kB / 0.4988 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009992/0.123, allocations: 0.5942 MB / 0.4993 GB, free: 9.266 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.123, allocations: 4 kB / 0.4994 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.123, allocations: 20 kB / 0.4994 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.1231, allocations: 12 kB / 0.4994 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008508/0.1239, allocations: 391.7 kB / 0.4998 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/0.1266, allocations: 1.623 MB / 0.5013 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007535/0.1274, allocations: 295.4 kB / 0.5016 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005756/0.128, allocations: 213.3 kB / 0.5018 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.128, allocations: 4.281 kB / 0.5018 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.1281, allocations: 38.84 kB / 0.5019 GB, free: 6.566 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.1281, allocations: 0 / 0.5019 GB, free: 6.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=47): time 0.004935/0.133, allocations: 1.577 MB / 0.5034 GB, free: 4.949 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.133, allocations: 55.91 kB / 0.5035 GB, free: 4.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.1334, allocations: 296.1 kB / 0.5037 GB, free: 4.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.1335, allocations: 33.7 kB / 0.5038 GB, free: 4.547 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.1337, allocations: 268.9 kB / 0.504 GB, free: 4.281 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.1338, allocations: 178.5 kB / 0.5042 GB, free: 4.105 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.134, allocations: 94.08 kB / 0.5043 GB, free: 4.008 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.1342, allocations: 346.8 kB / 0.5046 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.1346, allocations: 152.9 kB / 0.5048 GB, free: 3.508 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.135, allocations: 238 kB / 0.505 GB, free: 3.246 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008144/0.1358, allocations: 410.4 kB / 0.5054 GB, free: 2.816 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1358, allocations: 0 / 0.5054 GB, free: 2.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001189/0.137, allocations: 0.5612 MB / 0.5059 GB, free: 2.238 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.137, allocations: 4 kB / 0.5059 GB, free: 2.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.137, allocations: 4 kB / 0.5059 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003155/0.1374, allocations: 101.9 kB / 0.506 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.1378, allocations: 103.8 kB / 0.5061 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2232/0.361, allocations: 3.316 MB / 0.5094 GB, free: 53.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.3616, allocations: 21.81 kB / 0.5094 GB, free: 53.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.623e-05/0.3616, allocations: 17.42 kB / 0.5094 GB, free: 53.66 MB / 430.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.0003325/0.362, allocations: 180.3 kB / 0.5096 GB, free: 53.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.3621, allocations: 43.16 kB / 0.5096 GB, free: 53.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.3622, allocations: 48.03 kB / 0.5097 GB, free: 53.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.3622, allocations: 13.58 kB / 0.5097 GB, free: 53.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.3623, allocations: 1.125 kB / 0.5097 GB, free: 53.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.3623, allocations: 6.266 kB / 0.5097 GB, free: 53.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.3646, allocations: 0.9492 MB / 0.5106 GB, free: 53.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3646, allocations: 4.828 kB / 0.5106 GB, free: 53.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/0.3652, allocations: 85.34 kB / 0.5107 GB, free: 53.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003451/0.3655, allocations: 90.31 kB / 0.5108 GB, free: 53.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.3655, allocations: 14.95 kB / 0.5108 GB, free: 53.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002815/0.3684, allocations: 3.312 MB / 0.514 GB, free: 50.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3684, allocations: 3.938 kB / 0.514 GB, free: 50.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.3703, allocations: 0.7797 MB / 0.5148 GB, free: 50.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.3705, allocations: 69.83 kB / 0.5149 GB, free: 50.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.226e-05/0.3705, allocations: 15.92 kB / 0.5149 GB, free: 50.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.3709, allocations: 26.88 kB / 0.5149 GB, free: 50.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.371, allocations: 34.45 kB / 0.5149 GB, free: 50.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/0.3711, allocations: 15.25 kB / 0.515 GB, free: 50.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002616/0.3714, allocations: 211.7 kB / 0.5152 GB, free: 49.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3714, allocations: 1.094 kB / 0.5152 GB, free: 49.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000978/0.3723, allocations: 120.2 kB / 0.5153 GB, free: 49.89 MB / 430.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.0001497/0.3725, allocations: 104.3 kB / 0.5154 GB, free: 49.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.374, allocations: 0.6435 MB / 0.516 GB, free: 49.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.374, allocations: 2.25 kB / 0.516 GB, free: 49.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009063/0.3749, allocations: 477.8 kB / 0.5165 GB, free: 49.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.3755, allocations: 43.84 kB / 0.5165 GB, free: 49.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.378, allocations: 1.04 MB / 0.5175 GB, free: 48.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.3783, allocations: 241.4 kB / 0.5178 GB, free: 48.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002466/0.3786, allocations: 43.98 kB / 0.5178 GB, free: 48.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.3787, allocations: 30.36 kB / 0.5178 GB, free: 48.46 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3787, allocations: 0 / 0.5178 GB, free: 48.46 MB / 430.1 MB Notification: Performance of Templates: time 0.01362/0.3923, allocations: 4.655 MB / 0.5224 GB, free: 47.91 MB / 430.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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.07902301393915] Failed to read output from testmodel.py, exit status != 0: 0.4019000510452315 0.41980754899999995 0.29600342700000004 Calling exit ...