Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.Coupling.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.001413/0.001413, 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.496/1.496, allocations: 230.6 MB / 253.4 MB, free: 14.45 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.001744/0.001744, allocations: 216.6 kB / 310 MB, free: 3.148 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.04051/0.04051, allocations: 8.907 MB / 375.3 MB, free: 6.766 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.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") translateModel(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") [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.00243/0.00243, allocations: 87.88 kB / 0.4904 GB, free: 44.42 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1058, allocations: 55.6 MB / 0.5447 GB, free: 4.723 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.004324/0.1101, allocations: 2.589 MB / 0.5472 GB, free: 2.117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1115, allocations: 0.631 MB / 0.5479 GB, free: 1.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.1116, allocations: 4 kB / 0.5479 GB, free: 1.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.1118, allocations: 35.64 kB / 0.5479 GB, free: 1.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.1119, allocations: 59.42 kB / 0.548 GB, free: 1.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.1123, allocations: 75.84 kB / 0.548 GB, free: 1.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.1126, allocations: 255 kB / 0.5483 GB, free: 1.059 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.1128, allocations: 75.23 kB / 0.5483 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.1129, allocations: 107.6 kB / 0.5484 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.1131, allocations: 107.5 kB / 0.5485 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.1132, allocations: 24 kB / 0.5486 GB, free: 0.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.055e-05/0.1132, allocations: 24 kB / 0.5486 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.1133, allocations: 59.75 kB / 0.5487 GB, free: 0.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.1134, allocations: 119.5 kB / 0.5488 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.1138, allocations: 274.8 kB / 0.549 GB, free: 288 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1138, allocations: 0 / 0.549 GB, free: 288 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1138, allocations: 0 / 0.549 GB, free: 288 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1138, allocations: 0 / 0.549 GB, free: 288 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008732/0.1146, allocations: 457.7 kB / 0.5495 GB, free: 15.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1147, allocations: 15.97 kB / 0.5495 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.1148, allocations: 28.8 kB / 0.5495 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.1151, allocations: 175.2 kB / 0.5497 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.1152, allocations: 16.88 kB / 0.5497 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.1152, allocations: 32.11 kB / 0.5497 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.1157, allocations: 242.7 kB / 0.55 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1157, allocations: 0 / 0.55 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.1157, allocations: 4 kB / 0.55 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1157, allocations: 8 kB / 0.55 GB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.1161, allocations: 165.9 kB / 0.5501 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.1174, allocations: 0.8278 MB / 0.5509 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.1177, allocations: 114.5 kB / 0.551 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1179, allocations: 48.78 kB / 0.5511 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1179, allocations: 3.984 kB / 0.5511 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.1179, allocations: 38.56 kB / 0.5511 GB, free: 13.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.1179, allocations: 4 kB / 0.5511 GB, free: 13.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001281/0.1192, allocations: 455.8 kB / 0.5516 GB, free: 13.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.1192, allocations: 51.41 kB / 0.5516 GB, free: 13.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1194, allocations: 191.2 kB / 0.5518 GB, free: 13.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.1195, allocations: 25.7 kB / 0.5518 GB, free: 13.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.1196, allocations: 168.2 kB / 0.552 GB, free: 13.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.1196, allocations: 47.59 kB / 0.552 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.1197, allocations: 41.7 kB / 0.5521 GB, free: 12.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1198, allocations: 326.8 kB / 0.5524 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.12, allocations: 43.98 kB / 0.5524 GB, free: 12.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.1201, allocations: 101 kB / 0.5525 GB, free: 12.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.1204, allocations: 143.4 kB / 0.5527 GB, free: 12.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1204, allocations: 4 kB / 0.5527 GB, free: 12.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003709/0.1208, allocations: 185.3 kB / 0.5528 GB, free: 12.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1208, allocations: 10.81 kB / 0.5528 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1208, allocations: 4.188 kB / 0.5528 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.1208, allocations: 4 kB / 0.5529 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.1211, allocations: 51.91 kB / 0.5529 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1211, allocations: 4 kB / 0.5529 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1212, allocations: 7.938 kB / 0.5529 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.1212, allocations: 8 kB / 0.5529 GB, free: 12.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.1214, allocations: 137.7 kB / 0.5531 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.1214, allocations: 15.91 kB / 0.5531 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.1214, allocations: 21.45 kB / 0.5531 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1215, allocations: 4 kB / 0.5531 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1215, allocations: 0 / 0.5531 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.1215, allocations: 3.938 kB / 0.5531 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.1218, allocations: 248.5 kB / 0.5533 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1218, allocations: 0 / 0.5533 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.122, allocations: 39.92 kB / 0.5534 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.122, allocations: 0 / 0.5534 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.122, allocations: 4 kB / 0.5534 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.122, allocations: 3.984 kB / 0.5534 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.122, allocations: 4 kB / 0.5534 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000497/0.1225, allocations: 289.5 kB / 0.5537 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.79e-05/0.1226, allocations: 31.91 kB / 0.5537 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.1226, allocations: 0 / 0.5537 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1227, allocations: 15.92 kB / 0.5537 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.1228, allocations: 12.05 kB / 0.5537 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1228, allocations: 11.88 kB / 0.5537 GB, free: 11.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.1229, allocations: 132.3 kB / 0.5539 GB, free: 11 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1229, allocations: 0 / 0.5539 GB, free: 11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1232, allocations: 40 kB / 0.5539 GB, free: 10.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (converter.i) * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000109/0.1233, allocations: 95.25 kB / 0.554 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.1236, allocations: 120 kB / 0.5541 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1236, allocations: 0 / 0.5541 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.1237, allocations: 51.97 kB / 0.5541 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.124, allocations: 16 kB / 0.5542 GB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.125, allocations: 492.4 kB / 0.5546 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.1254, allocations: 0.7437 MB / 0.5554 GB, free: 9.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.1255, allocations: 23.42 kB / 0.5554 GB, free: 9.367 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1255, allocations: 0 / 0.5554 GB, free: 9.367 MB / 382.1 MB Notification: Performance of Templates: time 0.00444/0.1299, allocations: 2.219 MB / 0.5575 GB, free: 7.148 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Magnetic.Coupling.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.Coupling.sim & ./HanserModelica_HanserModelica.Magnetic.Coupling -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.Coupling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.335566388210282] Failed to read output from testmodel.py, exit status != 0: 0.13789294310845435 0.3801739 0.263465718 Calling exit ...