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.001382/0.001382, allocations: 107.6 kB / 18.95 MB, free: 2.828 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.708/1.708, allocations: 230.6 MB / 252.7 MB, free: 8.105 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.002146/0.002146, allocations: 221 kB / 309.2 MB, free: 2.949 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.04559/0.04559, allocations: 8.912 MB / 374.6 MB, free: 1.73 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.002929/0.002929, allocations: 95.86 kB / 0.4896 GB, free: 6.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.37, allocations: 55.59 MB / 0.5439 GB, free: 26.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.004393/0.3744, allocations: 3.518 MB / 0.5473 GB, free: 24.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.3764, allocations: 0.9521 MB / 0.5483 GB, free: 23.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/0.3766, allocations: 13.5 kB / 0.5483 GB, free: 23.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.3769, allocations: 83.98 kB / 0.5484 GB, free: 23.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.3773, allocations: 158.3 kB / 0.5485 GB, free: 23.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.3776, allocations: 185.9 kB / 0.5487 GB, free: 23.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004743/0.3781, allocations: 0.6433 MB / 0.5493 GB, free: 23.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000289/0.3784, allocations: 184.7 kB / 0.5495 GB, free: 23.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.3787, allocations: 265.7 kB / 0.5497 GB, free: 23.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.379, allocations: 251.5 kB / 0.55 GB, free: 22.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.738e-05/0.3791, allocations: 67.09 kB / 0.55 GB, free: 22.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.3792, allocations: 70.56 kB / 0.5501 GB, free: 22.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.3793, allocations: 131.9 kB / 0.5502 GB, free: 22.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.3794, allocations: 249.4 kB / 0.5505 GB, free: 22.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006434/0.3801, allocations: 0.7473 MB / 0.5512 GB, free: 22.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3801, allocations: 0 / 0.5512 GB, free: 22.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3801, allocations: 0 / 0.5512 GB, free: 22.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.3801, allocations: 0 / 0.5512 GB, free: 22.43 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.001269/0.3814, allocations: 0.7803 MB / 0.552 GB, free: 21.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3814, allocations: 9 kB / 0.552 GB, free: 21.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.3816, allocations: 76.05 kB / 0.5521 GB, free: 21.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.3821, allocations: 305.8 kB / 0.5523 GB, free: 21.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.3822, allocations: 38.75 kB / 0.5524 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.3822, allocations: 49.28 kB / 0.5524 GB, free: 21.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008515/0.3831, allocations: 0.6046 MB / 0.553 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.3831, allocations: 0 / 0.553 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.3832, allocations: 21.94 kB / 0.553 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.3832, allocations: 16 kB / 0.5531 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007308/0.3839, allocations: 388.7 kB / 0.5534 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.3861, allocations: 1.621 MB / 0.555 GB, free: 19.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.3868, allocations: 295.7 kB / 0.5553 GB, free: 19.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004771/0.3872, allocations: 216.9 kB / 0.5555 GB, free: 19.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.3873, allocations: 15.56 kB / 0.5555 GB, free: 19.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3873, allocations: 37.62 kB / 0.5555 GB, free: 19.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.3873, allocations: 0 / 0.5555 GB, free: 19.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.004387/0.3917, allocations: 1.573 MB / 0.5571 GB, free: 18.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.3917, allocations: 57.78 kB / 0.5571 GB, free: 18.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.3921, allocations: 296.5 kB / 0.5574 GB, free: 18.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.3921, allocations: 33.7 kB / 0.5575 GB, free: 18.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.3922, allocations: 270.4 kB / 0.5577 GB, free: 18.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.3924, allocations: 180.1 kB / 0.5579 GB, free: 18.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.3925, allocations: 85.8 kB / 0.558 GB, free: 18.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.3926, allocations: 349.8 kB / 0.5583 GB, free: 17.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.3929, allocations: 149.1 kB / 0.5584 GB, free: 17.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.3933, allocations: 242.7 kB / 0.5587 GB, free: 17.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007164/0.394, allocations: 409.5 kB / 0.5591 GB, free: 17.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.394, allocations: 0 / 0.5591 GB, free: 17.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001007/0.395, allocations: 0.5533 MB / 0.5596 GB, free: 17.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.395, allocations: 13.28 kB / 0.5596 GB, free: 17.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.395, allocations: 3 kB / 0.5596 GB, free: 17.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002854/0.3953, allocations: 97.34 kB / 0.5597 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.3957, allocations: 104.5 kB / 0.5598 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.398, allocations: 3.327 MB / 0.5631 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.3983, allocations: 20.41 kB / 0.5631 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.3983, allocations: 16.44 kB / 0.5631 GB, free: 14.11 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.0002184/0.3985, allocations: 189.8 kB / 0.5633 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.3986, allocations: 39.56 kB / 0.5633 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.742e-05/0.3987, allocations: 46.02 kB / 0.5634 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3987, allocations: 2.969 kB / 0.5634 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.3987, allocations: 3.156 kB / 0.5634 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3987, allocations: 2.297 kB / 0.5634 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.4004, allocations: 0.9606 MB / 0.5643 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4004, allocations: 2.141 kB / 0.5643 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.4008, allocations: 83.52 kB / 0.5644 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/0.4011, allocations: 92.56 kB / 0.5645 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.4011, allocations: 13.34 kB / 0.5645 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.4033, allocations: 3.329 MB / 0.5677 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4033, allocations: 0 / 0.5677 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.4046, allocations: 0.7656 MB / 0.5685 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.4048, allocations: 74.05 kB / 0.5686 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.4048, allocations: 10.56 kB / 0.5686 GB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.4051, allocations: 31.73 kB / 0.5686 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.4052, allocations: 34.02 kB / 0.5686 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.4052, allocations: 22.83 kB / 0.5687 GB, free: 9.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.4054, allocations: 202.5 kB / 0.5688 GB, free: 9.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4054, allocations: 0 / 0.5688 GB, free: 9.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006725/0.4061, allocations: 120.3 kB / 0.569 GB, free: 9.555 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.0001317/0.4062, allocations: 111 kB / 0.5691 GB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.4075, allocations: 0.6406 MB / 0.5697 GB, free: 9.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4075, allocations: 3.938 kB / 0.5697 GB, free: 9.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007598/0.4083, allocations: 470.9 kB / 0.5701 GB, free: 8.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.4087, allocations: 50.47 kB / 0.5702 GB, free: 8.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.4106, allocations: 1.025 MB / 0.5712 GB, free: 8.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.4109, allocations: 239.1 kB / 0.5714 GB, free: 8.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.4111, allocations: 40.31 kB / 0.5715 GB, free: 8.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.4112, allocations: 34.5 kB / 0.5715 GB, free: 8 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4112, allocations: 0 / 0.5715 GB, free: 8 MB / 382.1 MB Notification: Performance of Templates: time 0.01259/0.4238, allocations: 5.24 MB / 0.5766 GB, free: 6.855 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.7496738862246275] Failed to read output from testmodel.py, exit status != 0: 0.4334357399493456 0.44723855 0.063608416 Calling exit ...