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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 245.5 MB, free: 14.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 186.8 kB / 300.5 MB, free: 9.836 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04163/0.04163, allocations: 8.937 MB / 364.3 MB, free: 10.18 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 82.39 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1147, allocations: 54.41 MB / 0.5289 GB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.005774/0.1205, allocations: 3.845 MB / 0.5327 GB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.1225, allocations: 0.927 MB / 0.5336 GB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003172/0.1228, allocations: 8 kB / 0.5336 GB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.123, allocations: 87.09 kB / 0.5337 GB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000429/0.1235, allocations: 158.6 kB / 0.5338 GB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.1238, allocations: 171.8 kB / 0.534 GB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007433/0.1246, allocations: 0.6424 MB / 0.5346 GB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003797/0.125, allocations: 200.9 kB / 0.5348 GB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.1253, allocations: 255.1 kB / 0.535 GB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003635/0.1257, allocations: 274.8 kB / 0.5353 GB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.671e-05/0.1258, allocations: 71.94 kB / 0.5354 GB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.924e-05/0.1259, allocations: 68 kB / 0.5354 GB, free: 10.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.126, allocations: 139.5 kB / 0.5356 GB, free: 10.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.1263, allocations: 302.6 kB / 0.5359 GB, free: 9.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008308/0.1271, allocations: 0.7317 MB / 0.5366 GB, free: 8.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1271, allocations: 0 / 0.5366 GB, free: 8.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1271, allocations: 0 / 0.5366 GB, free: 8.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1271, allocations: 0 / 0.5366 GB, free: 8.98 MB / 350.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.001516/0.1286, allocations: 0.8416 MB / 0.5374 GB, free: 8.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1287, allocations: 12.03 kB / 0.5374 GB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.1288, allocations: 64.55 kB / 0.5375 GB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005964/0.1294, allocations: 371.8 kB / 0.5378 GB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.1294, allocations: 45.62 kB / 0.5379 GB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.141e-05/0.1295, allocations: 48.38 kB / 0.5379 GB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/0.1304, allocations: 0.5188 MB / 0.5384 GB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1304, allocations: 0 / 0.5384 GB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/0.1305, allocations: 20 kB / 0.5384 GB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.1305, allocations: 12 kB / 0.5385 GB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007996/0.1313, allocations: 391.8 kB / 0.5388 GB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/0.1343, allocations: 1.887 MB / 0.5407 GB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007266/0.135, allocations: 304.2 kB / 0.541 GB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.1355, allocations: 213.3 kB / 0.5412 GB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.1355, allocations: 8.281 kB / 0.5412 GB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.1356, allocations: 38.83 kB / 0.5412 GB, free: 3.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.364e-06/0.1356, allocations: 0 / 0.5412 GB, free: 3.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.004688/0.1403, allocations: 1.733 MB / 0.5429 GB, free: 2.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.1403, allocations: 55.84 kB / 0.543 GB, free: 2.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.1407, allocations: 299.2 kB / 0.5432 GB, free: 1.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.1407, allocations: 37.7 kB / 0.5433 GB, free: 1.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.1409, allocations: 276.9 kB / 0.5435 GB, free: 1.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.1411, allocations: 166.5 kB / 0.5437 GB, free: 1.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.1412, allocations: 90.25 kB / 0.5438 GB, free: 1.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1414, allocations: 338.8 kB / 0.5441 GB, free: 0.9062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.1417, allocations: 157 kB / 0.5443 GB, free: 0.7539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.1422, allocations: 242.5 kB / 0.5445 GB, free: 492 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007713/0.1429, allocations: 409.1 kB / 0.5449 GB, free: 52 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1429, allocations: 4 kB / 0.5449 GB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00116/0.1441, allocations: 0.5522 MB / 0.5454 GB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1441, allocations: 7.938 kB / 0.5454 GB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.1441, allocations: 4 kB / 0.5454 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/0.1445, allocations: 97.59 kB / 0.5455 GB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.1449, allocations: 111.9 kB / 0.5456 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/0.1483, allocations: 3.594 MB / 0.5491 GB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.1486, allocations: 16 kB / 0.5492 GB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.1486, allocations: 20.03 kB / 0.5492 GB, free: 11.35 MB / 366.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.0002714/0.1489, allocations: 193.6 kB / 0.5494 GB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.047e-05/0.149, allocations: 39.77 kB / 0.5494 GB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.664e-05/0.1491, allocations: 51.73 kB / 0.5495 GB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1491, allocations: 4 kB / 0.5495 GB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.1491, allocations: 0 / 0.5495 GB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1491, allocations: 7.984 kB / 0.5495 GB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.1509, allocations: 1.117 MB / 0.5506 GB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.1509, allocations: 3.984 kB / 0.5506 GB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.1513, allocations: 79.89 kB / 0.5506 GB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/0.1516, allocations: 109.8 kB / 0.5507 GB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.1516, allocations: 12 kB / 0.5508 GB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003165/0.1548, allocations: 3.593 MB / 0.5543 GB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1548, allocations: 48 / 0.5543 GB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.1562, allocations: 0.7764 MB / 0.555 GB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.1564, allocations: 144.9 kB / 0.5552 GB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/0.1565, allocations: 20.05 kB / 0.5552 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.1567, allocations: 27.92 kB / 0.5552 GB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.1568, allocations: 31.95 kB / 0.5552 GB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.1569, allocations: 12 kB / 0.5552 GB, free: 4.746 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002281/0.1571, allocations: 209.9 kB / 0.5554 GB, free: 4.539 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1571, allocations: 0 / 0.5554 GB, free: 4.539 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006238/0.1577, allocations: 120 kB / 0.5556 GB, free: 4.422 MB / 366.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.0001375/0.1578, allocations: 111.2 kB / 0.5557 GB, free: 4.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.1591, allocations: 0.6469 MB / 0.5563 GB, free: 3.633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1591, allocations: 0 / 0.5563 GB, free: 3.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000762/0.1599, allocations: 469.5 kB / 0.5567 GB, free: 3.148 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.1603, allocations: 58.7 kB / 0.5568 GB, free: 3.094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.1623, allocations: 1.065 MB / 0.5578 GB, free: 1.992 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.1628, allocations: 0.8395 MB / 0.5587 GB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.1629, allocations: 35.42 kB / 0.5587 GB, free: 1.094 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1629, allocations: 0 / 0.5587 GB, free: 1.094 MB / 366.1 MB Notification: Performance of Templates: time 0.01318/0.1761, allocations: 9.878 MB / 0.5683 GB, free: 7.223 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.205158988013864] Failed to read output from testmodel.py, exit status != 0: 0.3828916470083641 0.19769627699999995 0.06767440299999994 Calling exit ...