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.001646/0.001646, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.508/1.508, allocations: 230.6 MB / 252.6 MB, free: 8.297 MB / 206.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.002557/0.002557, allocations: 215.8 kB / 309.2 MB, free: 3.125 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.04447/0.04447, allocations: 8.918 MB / 374.6 MB, free: 1.883 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.002722/0.002722, allocations: 83.88 kB / 0.4897 GB, free: 6.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3013, allocations: 55.59 MB / 0.544 GB, free: 27.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.004078/0.3054, allocations: 3.893 MB / 0.5478 GB, free: 24.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.3069, allocations: 1.005 MB / 0.5487 GB, free: 23.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.3072, allocations: 15.81 kB / 0.5488 GB, free: 23.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.3074, allocations: 85.09 kB / 0.5488 GB, free: 23.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.3077, allocations: 158.8 kB / 0.549 GB, free: 23.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.3081, allocations: 179.4 kB / 0.5492 GB, free: 23.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004815/0.3086, allocations: 0.6458 MB / 0.5498 GB, free: 22.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.3089, allocations: 200.1 kB / 0.55 GB, free: 22.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.3092, allocations: 266.6 kB / 0.5502 GB, free: 22.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.3094, allocations: 284.6 kB / 0.5505 GB, free: 22.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.761e-05/0.3095, allocations: 68.53 kB / 0.5506 GB, free: 22.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.3096, allocations: 68.62 kB / 0.5506 GB, free: 22.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.422e-05/0.3097, allocations: 139.2 kB / 0.5508 GB, free: 22.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.3099, allocations: 302 kB / 0.5511 GB, free: 22.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005596/0.3104, allocations: 0.7411 MB / 0.5518 GB, free: 21.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3104, allocations: 0 / 0.5518 GB, free: 21.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3104, allocations: 0 / 0.5518 GB, free: 21.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.3104, allocations: 0 / 0.5518 GB, free: 21.95 MB / 382.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.001236/0.3117, allocations: 0.7729 MB / 0.5525 GB, free: 21.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3117, allocations: 9.562 kB / 0.5525 GB, free: 21.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.3119, allocations: 75.22 kB / 0.5526 GB, free: 21.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.3124, allocations: 313.4 kB / 0.5529 GB, free: 21.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.3124, allocations: 42.72 kB / 0.553 GB, free: 21.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.045e-05/0.3125, allocations: 46.44 kB / 0.553 GB, free: 21.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008068/0.3133, allocations: 0.5228 MB / 0.5535 GB, free: 20.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.3133, allocations: 0 / 0.5535 GB, free: 20.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.3134, allocations: 22.16 kB / 0.5535 GB, free: 20.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.3134, allocations: 16.12 kB / 0.5535 GB, free: 20.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.3141, allocations: 388.5 kB / 0.5539 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.3163, allocations: 1.839 MB / 0.5557 GB, free: 19.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.3169, allocations: 301.2 kB / 0.556 GB, free: 19.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/0.3173, allocations: 213.5 kB / 0.5562 GB, free: 19.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.3173, allocations: 7.469 kB / 0.5562 GB, free: 19.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.3174, allocations: 37.78 kB / 0.5562 GB, free: 19.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.572e-06/0.3174, allocations: 0 / 0.5562 GB, free: 19.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.004003/0.3214, allocations: 1.576 MB / 0.5578 GB, free: 18.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.3214, allocations: 61.02 kB / 0.5578 GB, free: 18.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.3216, allocations: 301.5 kB / 0.5581 GB, free: 18.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.3217, allocations: 36.7 kB / 0.5582 GB, free: 18.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.3218, allocations: 270.4 kB / 0.5584 GB, free: 18.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.578e-05/0.3218, allocations: 161.9 kB / 0.5586 GB, free: 17.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.3219, allocations: 93.42 kB / 0.5587 GB, free: 17.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.322, allocations: 342 kB / 0.559 GB, free: 17.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.3223, allocations: 156.6 kB / 0.5591 GB, free: 17.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.3226, allocations: 244.2 kB / 0.5594 GB, free: 17.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000604/0.3232, allocations: 409.8 kB / 0.5598 GB, free: 17.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3232, allocations: 3.062 kB / 0.5598 GB, free: 17.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008898/0.3241, allocations: 0.5542 MB / 0.5603 GB, free: 16.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3241, allocations: 5.844 kB / 0.5603 GB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3242, allocations: 3.156 kB / 0.5603 GB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002586/0.3244, allocations: 98.58 kB / 0.5604 GB, free: 16.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.3248, allocations: 103.5 kB / 0.5605 GB, free: 16.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.3271, allocations: 3.396 MB / 0.5638 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.3274, allocations: 18.11 kB / 0.5638 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.3274, allocations: 21.95 kB / 0.5639 GB, free: 13.55 MB / 382.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.0002262/0.3276, allocations: 180.8 kB / 0.564 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.3277, allocations: 39.36 kB / 0.5641 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.3278, allocations: 54.73 kB / 0.5641 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3278, allocations: 3.375 kB / 0.5641 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.3278, allocations: 3.469 kB / 0.5641 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3278, allocations: 2.672 kB / 0.5641 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.3296, allocations: 1.096 MB / 0.5652 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3296, allocations: 0.5312 kB / 0.5652 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.33, allocations: 88.75 kB / 0.5653 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002474/0.3303, allocations: 101.3 kB / 0.5654 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.3303, allocations: 13.56 kB / 0.5654 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.3324, allocations: 3.395 MB / 0.5687 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3324, allocations: 0 / 0.5687 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.3337, allocations: 0.775 MB / 0.5695 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.3339, allocations: 74.48 kB / 0.5695 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.3339, allocations: 11.03 kB / 0.5696 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.3342, allocations: 26.09 kB / 0.5696 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3343, allocations: 34.84 kB / 0.5696 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.3344, allocations: 19.34 kB / 0.5696 GB, free: 8.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002394/0.3346, allocations: 209.4 kB / 0.5698 GB, free: 8.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3346, allocations: 0 / 0.5698 GB, free: 8.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007225/0.3353, allocations: 119.8 kB / 0.5699 GB, free: 8.828 MB / 382.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.0001249/0.3355, allocations: 108.3 kB / 0.5701 GB, free: 8.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.3367, allocations: 0.6395 MB / 0.5707 GB, free: 8.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3367, allocations: 5.219 kB / 0.5707 GB, free: 8.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007267/0.3375, allocations: 476.1 kB / 0.5711 GB, free: 8.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.3379, allocations: 48.59 kB / 0.5712 GB, free: 8.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.34, allocations: 1.029 MB / 0.5722 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.3404, allocations: 0.8429 MB / 0.573 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002115/0.3406, allocations: 41.25 kB / 0.5731 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.3407, allocations: 34.84 kB / 0.5731 GB, free: 6.664 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3407, allocations: 0 / 0.5731 GB, free: 6.664 MB / 382.1 MB Notification: Performance of Templates: time 0.01459/0.3553, allocations: 5.192 MB / 0.5782 GB, free: 5.531 MB / 382.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: 5.306791045004502] Failed to read output from testmodel.py, exit status != 0: 0.364482652163133 0.38027262500000003 0.066535497 Calling exit ...