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.001674/0.001674, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.461/1.461, allocations: 230.6 MB / 253.4 MB, free: 8.293 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.00167/0.00167, allocations: 215.5 kB / 310 MB, free: 3.145 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.04081/0.04081, allocations: 8.926 MB / 375.3 MB, free: 1.895 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.002853/0.002853, allocations: 87.88 kB / 0.4904 GB, free: 6.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3374, allocations: 55.6 MB / 0.5447 GB, free: 27.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.004214/0.3416, allocations: 3.883 MB / 0.5485 GB, free: 24.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3432, allocations: 1.004 MB / 0.5495 GB, free: 23.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.3435, allocations: 13.19 kB / 0.5495 GB, free: 23.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.3437, allocations: 83.86 kB / 0.5496 GB, free: 23.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.344, allocations: 157 kB / 0.5497 GB, free: 23.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.3444, allocations: 186.1 kB / 0.5499 GB, free: 23.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005074/0.3449, allocations: 0.6511 MB / 0.5505 GB, free: 22.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.3452, allocations: 196.1 kB / 0.5507 GB, free: 22.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003106/0.3455, allocations: 266 kB / 0.551 GB, free: 22.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.3458, allocations: 279.1 kB / 0.5512 GB, free: 22.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.994e-05/0.3459, allocations: 70.44 kB / 0.5513 GB, free: 22.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.346, allocations: 68.34 kB / 0.5514 GB, free: 22.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.3461, allocations: 139.8 kB / 0.5515 GB, free: 22.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.3463, allocations: 303.4 kB / 0.5518 GB, free: 22.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005862/0.3468, allocations: 0.7432 MB / 0.5525 GB, free: 21.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3468, allocations: 0 / 0.5525 GB, free: 21.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3468, allocations: 0 / 0.5525 GB, free: 21.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3469, allocations: 0 / 0.5525 GB, free: 21.97 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.0012/0.3481, allocations: 0.7764 MB / 0.5533 GB, free: 21.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3481, allocations: 9 kB / 0.5533 GB, free: 21.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.3483, allocations: 68.66 kB / 0.5534 GB, free: 21.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.3488, allocations: 318.2 kB / 0.5537 GB, free: 21.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.3488, allocations: 38.62 kB / 0.5537 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.24e-05/0.3489, allocations: 49.25 kB / 0.5537 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007346/0.3496, allocations: 0.5252 MB / 0.5543 GB, free: 20.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3496, allocations: 0 / 0.5543 GB, free: 20.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.3497, allocations: 26 kB / 0.5543 GB, free: 20.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.3497, allocations: 16.06 kB / 0.5543 GB, free: 20.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/0.3503, allocations: 387 kB / 0.5547 GB, free: 20.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.3524, allocations: 1.836 MB / 0.5565 GB, free: 19.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/0.353, allocations: 295.8 kB / 0.5567 GB, free: 19.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004366/0.3535, allocations: 221 kB / 0.557 GB, free: 19.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.3535, allocations: 3.375 kB / 0.557 GB, free: 19.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.3535, allocations: 34 kB / 0.557 GB, free: 19.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.3535, allocations: 4 kB / 0.557 GB, free: 19.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.003939/0.3575, allocations: 1.58 MB / 0.5585 GB, free: 18.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.3575, allocations: 54.97 kB / 0.5586 GB, free: 18.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.3578, allocations: 309.9 kB / 0.5589 GB, free: 18.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.3578, allocations: 36.86 kB / 0.5589 GB, free: 18.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3579, allocations: 271.9 kB / 0.5592 GB, free: 18.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.358, allocations: 170.5 kB / 0.5593 GB, free: 17.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.3581, allocations: 88.45 kB / 0.5594 GB, free: 17.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.3582, allocations: 345.9 kB / 0.5598 GB, free: 17.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.3585, allocations: 149.4 kB / 0.5599 GB, free: 17.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.3588, allocations: 239.9 kB / 0.5601 GB, free: 17.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006171/0.3594, allocations: 411.5 kB / 0.5605 GB, free: 17.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3594, allocations: 0 / 0.5605 GB, free: 17.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009085/0.3603, allocations: 0.5608 MB / 0.5611 GB, free: 16.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3604, allocations: 8.469 kB / 0.5611 GB, free: 16.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3604, allocations: 3.094 kB / 0.5611 GB, free: 16.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/0.3606, allocations: 96.56 kB / 0.5612 GB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.361, allocations: 111.5 kB / 0.5613 GB, free: 16.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.3632, allocations: 3.389 MB / 0.5646 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.3635, allocations: 16.36 kB / 0.5646 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.3635, allocations: 18.11 kB / 0.5646 GB, free: 13.58 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.0002083/0.3637, allocations: 188 kB / 0.5648 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.3638, allocations: 40.77 kB / 0.5648 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.604e-05/0.3639, allocations: 46.36 kB / 0.5649 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3639, allocations: 3.328 kB / 0.5649 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.3639, allocations: 8.219 kB / 0.5649 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.3639, allocations: 1.5 kB / 0.5649 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.3655, allocations: 1.105 MB / 0.566 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3656, allocations: 0 / 0.566 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.3659, allocations: 86.11 kB / 0.5661 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002433/0.3662, allocations: 95.41 kB / 0.5661 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.3662, allocations: 13.03 kB / 0.5662 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.3683, allocations: 3.389 MB / 0.5695 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3683, allocations: 0 / 0.5695 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.3696, allocations: 0.77 MB / 0.5702 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.3697, allocations: 72.91 kB / 0.5703 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.3698, allocations: 20.77 kB / 0.5703 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.37, allocations: 29.42 kB / 0.5703 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.3702, allocations: 35.33 kB / 0.5704 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.3702, allocations: 17.44 kB / 0.5704 GB, free: 8.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002321/0.3704, allocations: 210.5 kB / 0.5706 GB, free: 8.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3704, allocations: 1.062 kB / 0.5706 GB, free: 8.863 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006635/0.3711, allocations: 123.8 kB / 0.5707 GB, free: 8.844 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.0001141/0.3712, allocations: 108.4 kB / 0.5708 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.3724, allocations: 0.6435 MB / 0.5714 GB, free: 8.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3724, allocations: 0 / 0.5714 GB, free: 8.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006758/0.3731, allocations: 475.8 kB / 0.5719 GB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.3735, allocations: 48.3 kB / 0.5719 GB, free: 8.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.3754, allocations: 1.054 MB / 0.573 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3757, allocations: 0.8432 MB / 0.5738 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.3759, allocations: 37.36 kB / 0.5738 GB, free: 6.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3759, allocations: 0 / 0.5738 GB, free: 6.66 MB / 382.1 MB Notification: Performance of Templates: time 0.01375/0.3896, allocations: 9.95 MB / 0.5835 GB, free: 2.715 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: 8.40329050202854] Failed to read output from testmodel.py, exit status != 0: 0.39937050314620137 0.413649218 0.06368704399999994 Calling exit ...