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.001491/0.001491, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.514/1.514, allocations: 230.6 MB / 252.6 MB, free: 8.305 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.001631/0.001631, allocations: 216.9 kB / 309.2 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.04221/0.04221, allocations: 8.913 MB / 374.6 MB, free: 1.898 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.002576/0.002576, allocations: 86.53 kB / 0.4897 GB, free: 4.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1215, allocations: 55.62 MB / 0.544 GB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.004156/0.1257, allocations: 2.568 MB / 0.5465 GB, free: 1.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.127, allocations: 0.6349 MB / 0.5471 GB, free: 1.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.1272, allocations: 7.938 kB / 0.5471 GB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.1274, allocations: 39.64 kB / 0.5472 GB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.1276, allocations: 63.42 kB / 0.5472 GB, free: 1.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.1279, allocations: 63.91 kB / 0.5473 GB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.1283, allocations: 266.8 kB / 0.5475 GB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.1285, allocations: 75.23 kB / 0.5476 GB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1286, allocations: 95.7 kB / 0.5477 GB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.1288, allocations: 119.4 kB / 0.5478 GB, free: 0.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.603e-05/0.1289, allocations: 24 kB / 0.5478 GB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.209e-05/0.1289, allocations: 24 kB / 0.5479 GB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.1289, allocations: 55.81 kB / 0.5479 GB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.1291, allocations: 127.4 kB / 0.548 GB, free: 408 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.1295, allocations: 262.9 kB / 0.5483 GB, free: 144 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1295, allocations: 0 / 0.5483 GB, free: 144 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1295, allocations: 0 / 0.5483 GB, free: 144 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1295, allocations: 0 / 0.5483 GB, free: 144 kB / 350.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.0008799/0.1303, allocations: 461.7 kB / 0.5487 GB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1304, allocations: 12.02 kB / 0.5487 GB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.1305, allocations: 24.8 kB / 0.5488 GB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.1308, allocations: 187.1 kB / 0.5489 GB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.1308, allocations: 20.86 kB / 0.549 GB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.1309, allocations: 28.12 kB / 0.549 GB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.1313, allocations: 234.8 kB / 0.5492 GB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1313, allocations: 3.984 kB / 0.5492 GB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.1314, allocations: 12 kB / 0.5492 GB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.1314, allocations: 8 kB / 0.5492 GB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.1317, allocations: 157.9 kB / 0.5494 GB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.1331, allocations: 0.8201 MB / 0.5502 GB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.1334, allocations: 114.5 kB / 0.5503 GB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.1336, allocations: 48.84 kB / 0.5503 GB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1336, allocations: 0 / 0.5503 GB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1336, allocations: 34.56 kB / 0.5504 GB, free: 13.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.1336, allocations: 4 kB / 0.5504 GB, free: 13.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.00128/0.1349, allocations: 454.4 kB / 0.5508 GB, free: 13.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.1349, allocations: 59.34 kB / 0.5509 GB, free: 13.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1351, allocations: 191.2 kB / 0.551 GB, free: 13.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1352, allocations: 25.7 kB / 0.5511 GB, free: 13.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1353, allocations: 164.2 kB / 0.5512 GB, free: 12.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.1353, allocations: 51.59 kB / 0.5513 GB, free: 12.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.1354, allocations: 37.7 kB / 0.5513 GB, free: 12.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1355, allocations: 330.8 kB / 0.5516 GB, free: 12.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.1357, allocations: 47.92 kB / 0.5517 GB, free: 12.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.1359, allocations: 97.97 kB / 0.5518 GB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.1361, allocations: 144.5 kB / 0.5519 GB, free: 12.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1362, allocations: 4 kB / 0.5519 GB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004163/0.1366, allocations: 189.5 kB / 0.5521 GB, free: 11.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1366, allocations: 8 kB / 0.5521 GB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.1366, allocations: 4 kB / 0.5521 GB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1366, allocations: 4 kB / 0.5521 GB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.1368, allocations: 47.91 kB / 0.5521 GB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1369, allocations: 4 kB / 0.5521 GB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.137, allocations: 15.88 kB / 0.5522 GB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.137, allocations: 4 kB / 0.5522 GB, free: 11.88 MB / 366.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.0001555/0.1371, allocations: 145.8 kB / 0.5523 GB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.1372, allocations: 15.91 kB / 0.5523 GB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.1372, allocations: 17.45 kB / 0.5523 GB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1373, allocations: 4 kB / 0.5523 GB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1373, allocations: 0 / 0.5523 GB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1373, allocations: 3.938 kB / 0.5523 GB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.1376, allocations: 240.6 kB / 0.5526 GB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1376, allocations: 0 / 0.5526 GB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.1378, allocations: 31.98 kB / 0.5526 GB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1378, allocations: 3.984 kB / 0.5526 GB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1378, allocations: 12 kB / 0.5526 GB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1378, allocations: 3.984 kB / 0.5526 GB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1378, allocations: 0 / 0.5526 GB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.1384, allocations: 291.2 kB / 0.5529 GB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.1384, allocations: 23.92 kB / 0.5529 GB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.1385, allocations: 4 kB / 0.5529 GB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.1386, allocations: 12.05 kB / 0.5529 GB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.1386, allocations: 11.98 kB / 0.553 GB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1387, allocations: 7.938 kB / 0.553 GB, free: 11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1388, allocations: 132.3 kB / 0.5531 GB, free: 10.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1388, allocations: 0 / 0.5531 GB, free: 10.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000293/0.1391, allocations: 40 kB / 0.5531 GB, free: 10.83 MB / 366.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.0001198/0.1392, allocations: 99.19 kB / 0.5532 GB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.1395, allocations: 111.9 kB / 0.5533 GB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1395, allocations: 0 / 0.5533 GB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.1397, allocations: 59.91 kB / 0.5534 GB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.14, allocations: 19.94 kB / 0.5534 GB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1411, allocations: 474.8 kB / 0.5539 GB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.1415, allocations: 0.7398 MB / 0.5546 GB, free: 9.281 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.346e-05/0.1416, allocations: 21.47 kB / 0.5546 GB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.1416, allocations: 15.44 kB / 0.5546 GB, free: 9.246 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1416, allocations: 0 / 0.5546 GB, free: 9.246 MB / 366.1 MB Notification: Performance of Templates: time 0.005312/0.1469, allocations: 1.539 MB / 0.5561 GB, free: 7.723 MB / 366.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: 5.024085364071652] Failed to read output from testmodel.py, exit status != 0: 0.1552596630062908 0.17190004299999995 0.03914012199999994 Calling exit ...