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.001634/0.001634, 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.547/1.547, allocations: 230.6 MB / 253.4 MB, free: 14.26 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.001637/0.001637, allocations: 211.1 kB / 310 MB, free: 3.074 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.04135/0.04135, allocations: 8.921 MB / 375.3 MB, free: 6.562 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.00289/0.00289, allocations: 87.88 kB / 0.4903 GB, free: 44.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09312/0.09601, allocations: 55.61 MB / 0.5447 GB, free: 4.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.004591/0.1006, allocations: 2.412 MB / 0.547 GB, free: 2.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.1021, allocations: 0.5999 MB / 0.5476 GB, free: 1.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.1023, allocations: 4 kB / 0.5476 GB, free: 1.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.1025, allocations: 31.66 kB / 0.5476 GB, free: 1.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.1027, allocations: 67.41 kB / 0.5477 GB, free: 1.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.1031, allocations: 71.84 kB / 0.5478 GB, free: 1.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000397/0.1035, allocations: 251 kB / 0.548 GB, free: 1.074 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.1037, allocations: 67.23 kB / 0.5481 GB, free: 1.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1038, allocations: 107.6 kB / 0.5482 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.104, allocations: 99.47 kB / 0.5483 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.104, allocations: 24 kB / 0.5483 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.59e-05/0.1041, allocations: 24 kB / 0.5483 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.1041, allocations: 55.83 kB / 0.5484 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.1042, allocations: 103.5 kB / 0.5485 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.1046, allocations: 270.9 kB / 0.5487 GB, free: 344 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1046, allocations: 0 / 0.5487 GB, free: 344 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1046, allocations: 0 / 0.5487 GB, free: 344 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.1046, allocations: 3.938 kB / 0.5487 GB, free: 340 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.0008819/0.1055, allocations: 461.7 kB / 0.5492 GB, free: 15.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1055, allocations: 11.98 kB / 0.5492 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.1056, allocations: 28.8 kB / 0.5492 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.106, allocations: 180 kB / 0.5494 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.106, allocations: 16.88 kB / 0.5494 GB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.106, allocations: 28.12 kB / 0.5494 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.1065, allocations: 268.4 kB / 0.5497 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1065, allocations: 0 / 0.5497 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.1065, allocations: 12 kB / 0.5497 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1066, allocations: 4 kB / 0.5497 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.1069, allocations: 161.9 kB / 0.5498 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.1081, allocations: 0.727 MB / 0.5506 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.1084, allocations: 110.5 kB / 0.5507 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.1086, allocations: 56.83 kB / 0.5507 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1086, allocations: 4 kB / 0.5507 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1086, allocations: 34.5 kB / 0.5508 GB, free: 14.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 3.156e-06/0.1086, allocations: 3.984 kB / 0.5508 GB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001279/0.1099, allocations: 454.1 kB / 0.5512 GB, free: 13.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1099, allocations: 59.39 kB / 0.5512 GB, free: 13.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.1101, allocations: 179.2 kB / 0.5514 GB, free: 13.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1101, allocations: 25.7 kB / 0.5514 GB, free: 13.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.1102, allocations: 164.2 kB / 0.5516 GB, free: 13.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.1103, allocations: 55.53 kB / 0.5517 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.509e-05/0.1104, allocations: 37.7 kB / 0.5517 GB, free: 13.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1105, allocations: 330.8 kB / 0.552 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1107, allocations: 39.98 kB / 0.552 GB, free: 12.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.1108, allocations: 105.2 kB / 0.5521 GB, free: 12.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.1111, allocations: 146.8 kB / 0.5523 GB, free: 12.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1111, allocations: 4 kB / 0.5523 GB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003843/0.1115, allocations: 191.7 kB / 0.5525 GB, free: 12.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1115, allocations: 8 kB / 0.5525 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1115, allocations: 0 / 0.5525 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.1115, allocations: 4 kB / 0.5525 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.1118, allocations: 51.84 kB / 0.5525 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1118, allocations: 4 kB / 0.5525 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.1119, allocations: 8 kB / 0.5525 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.1119, allocations: 4 kB / 0.5525 GB, free: 12.16 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.0001394/0.112, allocations: 141.7 kB / 0.5527 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.1121, allocations: 15.94 kB / 0.5527 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.1121, allocations: 21.45 kB / 0.5527 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1121, allocations: 4 kB / 0.5527 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1122, allocations: 0 / 0.5527 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1122, allocations: 0 / 0.5527 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.1124, allocations: 189.2 kB / 0.5529 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1124, allocations: 0 / 0.5529 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.1126, allocations: 43.91 kB / 0.5529 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1126, allocations: 0 / 0.5529 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1126, allocations: 0 / 0.5529 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1126, allocations: 4 kB / 0.5529 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1126, allocations: 0 / 0.5529 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005144/0.1131, allocations: 291.3 kB / 0.5532 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/0.1132, allocations: 23.91 kB / 0.5532 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.1132, allocations: 8 kB / 0.5533 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.1134, allocations: 4 kB / 0.5533 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.1134, allocations: 11.98 kB / 0.5533 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1134, allocations: 0 / 0.5533 GB, free: 11.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.1135, allocations: 132 kB / 0.5534 GB, free: 11.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1135, allocations: 0 / 0.5534 GB, free: 11.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.1138, allocations: 44 kB / 0.5534 GB, free: 11.19 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.0001114/0.1139, allocations: 95.19 kB / 0.5535 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.1143, allocations: 119.8 kB / 0.5536 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1143, allocations: 3.938 kB / 0.5536 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.1144, allocations: 58.53 kB / 0.5537 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.1147, allocations: 19.98 kB / 0.5537 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.1157, allocations: 496.1 kB / 0.5542 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.1158, allocations: 125.1 kB / 0.5543 GB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.1159, allocations: 23.42 kB / 0.5543 GB, free: 10.21 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1159, allocations: 0 / 0.5543 GB, free: 10.21 MB / 382.1 MB Notification: Performance of Templates: time 0.004468/0.1204, allocations: 2.244 MB / 0.5565 GB, free: 7.961 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.4740982400253415] Failed to read output from testmodel.py, exit status != 0: 0.12813557172194123 0.344176664 0.23683653600000001 Calling exit ...