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.001558/0.001558, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.535/1.535, allocations: 230.6 MB / 253.4 MB, free: 14.29 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.001628/0.001628, allocations: 214 kB / 310 MB, free: 3.086 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.04177/0.04177, allocations: 8.928 MB / 375.3 MB, free: 6.574 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.00253/0.00253, allocations: 83.88 kB / 0.4904 GB, free: 44.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.1001, allocations: 55.6 MB / 0.5447 GB, free: 4.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.005284/0.1053, allocations: 3.517 MB / 0.5481 GB, free: 1.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.1073, allocations: 0.9581 MB / 0.549 GB, free: 76 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.1075, allocations: 11.94 kB / 0.549 GB, free: 64 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.1078, allocations: 87.25 kB / 0.5491 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.1082, allocations: 162.5 kB / 0.5493 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.1086, allocations: 179.7 kB / 0.5494 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006904/0.1093, allocations: 0.6461 MB / 0.5501 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.1096, allocations: 189.4 kB / 0.5503 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.11, allocations: 255.2 kB / 0.5505 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.1103, allocations: 246.8 kB / 0.5507 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.889e-05/0.1104, allocations: 68 kB / 0.5508 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1105, allocations: 72 kB / 0.5509 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1106, allocations: 135.5 kB / 0.551 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.1109, allocations: 250.9 kB / 0.5512 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007853/0.1117, allocations: 0.7434 MB / 0.552 GB, free: 13.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1117, allocations: 0 / 0.552 GB, free: 13.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1117, allocations: 3.938 kB / 0.552 GB, free: 13.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.1117, allocations: 0 / 0.552 GB, free: 13.04 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.001405/0.1131, allocations: 0.7702 MB / 0.5527 GB, free: 12.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1131, allocations: 11.98 kB / 0.5527 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.1133, allocations: 76.55 kB / 0.5528 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.1139, allocations: 314.4 kB / 0.5531 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.114, allocations: 37.69 kB / 0.5531 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.778e-05/0.114, allocations: 48.38 kB / 0.5532 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009668/0.115, allocations: 0.598 MB / 0.5538 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.115, allocations: 0 / 0.5538 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/0.1151, allocations: 20 kB / 0.5538 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.1151, allocations: 20 kB / 0.5538 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008315/0.1159, allocations: 387.8 kB / 0.5542 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.1185, allocations: 1.629 MB / 0.5558 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006949/0.1192, allocations: 292.2 kB / 0.556 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005297/0.1197, allocations: 217.2 kB / 0.5563 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1198, allocations: 8.281 kB / 0.5563 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1198, allocations: 38.84 kB / 0.5563 GB, free: 8.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.1198, allocations: 0 / 0.5563 GB, free: 8.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.004557/0.1244, allocations: 1.567 MB / 0.5578 GB, free: 6.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.1244, allocations: 55.84 kB / 0.5579 GB, free: 6.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.1247, allocations: 296.1 kB / 0.5582 GB, free: 6.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.1248, allocations: 33.7 kB / 0.5582 GB, free: 6.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.125, allocations: 272.9 kB / 0.5585 GB, free: 6.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.1251, allocations: 178.5 kB / 0.5586 GB, free: 5.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.1252, allocations: 90.14 kB / 0.5587 GB, free: 5.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1254, allocations: 350.7 kB / 0.559 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.1258, allocations: 148.9 kB / 0.5592 GB, free: 5.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.1262, allocations: 249.8 kB / 0.5594 GB, free: 5.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007823/0.127, allocations: 405.2 kB / 0.5598 GB, free: 4.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.127, allocations: 0 / 0.5598 GB, free: 4.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001116/0.1281, allocations: 0.56 MB / 0.5604 GB, free: 4.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.1281, allocations: 13.88 kB / 0.5604 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1281, allocations: 0 / 0.5604 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002891/0.1284, allocations: 93.67 kB / 0.5605 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.1289, allocations: 103.9 kB / 0.5606 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003582/0.1324, allocations: 3.318 MB / 0.5638 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.1327, allocations: 19.98 kB / 0.5638 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.1328, allocations: 19.98 kB / 0.5638 GB, free: 316 kB / 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.0002625/0.133, allocations: 193.8 kB / 0.564 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.1331, allocations: 35.77 kB / 0.5641 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.96e-05/0.1332, allocations: 47.69 kB / 0.5641 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1332, allocations: 4 kB / 0.5641 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.1332, allocations: 4 kB / 0.5641 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1332, allocations: 0 / 0.5641 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2507/0.3839, allocations: 0.9537 MB / 0.565 GB, free: 25.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.3839, allocations: 2.25 kB / 0.565 GB, free: 25.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.3843, allocations: 86.22 kB / 0.5651 GB, free: 25.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002345/0.3845, allocations: 92.31 kB / 0.5652 GB, free: 25.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.3846, allocations: 14.55 kB / 0.5652 GB, free: 25.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/0.3866, allocations: 3.322 MB / 0.5685 GB, free: 22.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3866, allocations: 0 / 0.5685 GB, free: 22.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.3878, allocations: 0.7726 MB / 0.5692 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.3879, allocations: 64.97 kB / 0.5693 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.388, allocations: 14.84 kB / 0.5693 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.3883, allocations: 29.3 kB / 0.5693 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.29e-05/0.3883, allocations: 38.55 kB / 0.5694 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.3884, allocations: 10.27 kB / 0.5694 GB, free: 22.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.3886, allocations: 205 kB / 0.5696 GB, free: 22.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3886, allocations: 0 / 0.5696 GB, free: 22.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006156/0.3892, allocations: 120.9 kB / 0.5697 GB, free: 22.46 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.0001137/0.3893, allocations: 105.3 kB / 0.5698 GB, free: 22.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.3903, allocations: 0.6491 MB / 0.5704 GB, free: 22.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3903, allocations: 3.812 kB / 0.5704 GB, free: 22.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.3909, allocations: 471.4 kB / 0.5709 GB, free: 21.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3913, allocations: 46.98 kB / 0.5709 GB, free: 21.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.3931, allocations: 1.056 MB / 0.572 GB, free: 21.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.3933, allocations: 245.6 kB / 0.5722 GB, free: 21.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.3934, allocations: 36.38 kB / 0.5722 GB, free: 21.29 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3934, allocations: 0 / 0.5722 GB, free: 21.29 MB / 382.1 MB Notification: Performance of Templates: time 0.01478/0.4082, allocations: 10.07 MB / 0.5821 GB, free: 19.23 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.421468664892018] Failed to read output from testmodel.py, exit status != 0: 0.41557225678116083 0.427912308 0.31362899 Calling exit ...