Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarDelta.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.0008159/0.0008159, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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 0.8515/0.8515, allocations: 177.2 MB / 200.2 MB, free: 5.938 MB / 186.7 MB " [Timeout remaining time 179] 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.001115/0.001115, allocations: 159.8 kB / 256.7 MB, free: 13.35 MB / 250.7 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.02215/0.02215, allocations: 6.66 MB / 319.8 MB, free: 26.77 MB / 266.7 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.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 446.6 MB, free: 37.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.73e-05, allocations: 9.094 kB / 446.7 MB, free: 37.13 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.002763/0.002781, allocations: 3.753 MB / 450.4 MB, free: 33.35 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.004332, allocations: 1.141 MB / 451.5 MB, free: 32.21 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.004585, allocations: 35.81 kB / 451.6 MB, free: 32.17 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.004839, allocations: 174.6 kB / 451.7 MB, free: 32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006227/0.005462, allocations: 298 kB / 452 MB, free: 31.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.005777, allocations: 191.5 kB / 452.2 MB, free: 31.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007939/0.006571, allocations: 1.649 MB / 453.9 MB, free: 29.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005793/0.00715, allocations: 0.808 MB / 454.7 MB, free: 29.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007971/0.007947, allocations: 1.123 MB / 455.8 MB, free: 27.89 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007234/0.008671, allocations: 0.8223 MB / 456.6 MB, free: 27.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000211/0.008882, allocations: 192 kB / 456.8 MB, free: 26.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.009081, allocations: 208 kB / 457 MB, free: 26.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.009285, allocations: 0.5452 MB / 457.6 MB, free: 26.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003867/0.009671, allocations: 0.608 MB / 458.2 MB, free: 25.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.01074, allocations: 2.524 MB / 460.7 MB, free: 22.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.01074, allocations: 0 / 460.7 MB, free: 22.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01074, allocations: 4 kB / 460.7 MB, free: 22.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.561e-05/0.0108, allocations: 0 / 460.7 MB, free: 22.99 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.00214/0.01294, allocations: 2.247 MB / 462.9 MB, free: 20.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.01297, allocations: 12.03 kB / 463 MB, free: 20.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.01331, allocations: 211.8 kB / 463.2 MB, free: 20.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008826/0.0142, allocations: 0.9981 MB / 464.2 MB, free: 19.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/0.01424, allocations: 107.1 kB / 464.3 MB, free: 19.35 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.01435, allocations: 140.4 kB / 464.4 MB, free: 19.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.01598, allocations: 2.008 MB / 466.4 MB, free: 17.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.01601, allocations: 3.938 kB / 466.4 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.01608, allocations: 56 kB / 466.5 MB, free: 17.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.0161, allocations: 36 kB / 466.5 MB, free: 17.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.01749, allocations: 1.588 MB / 468.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003538/0.02103, allocations: 4.196 MB / 472.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007172/0.02175, allocations: 0.8873 MB / 473.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005781/0.02233, allocations: 0.6356 MB / 473.8 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.02236, allocations: 12.59 kB / 473.8 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004873/0.02284, allocations: 0.6772 MB / 474.5 MB, free: 8.902 MB / 330.7 MB Notification: Performance of pre-optimization done (n=74): time 1.974e-06/0.02285, allocations: 0 / 474.5 MB, free: 8.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.002464/0.02531, allocations: 2.721 MB / 477.2 MB, free: 6.145 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.02535, allocations: 137.2 kB / 477.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/0.02586, allocations: 0.8205 MB / 478.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.02589, allocations: 49.69 kB / 478.2 MB, free: 5.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.02608, allocations: 0.6331 MB / 478.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.904e-05/0.02617, allocations: 273.7 kB / 479.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.02629, allocations: 150.6 kB / 479.3 MB, free: 4.023 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.193e-05/0.02635, allocations: 402.7 kB / 479.7 MB, free: 3.621 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.02669, allocations: 413.7 kB / 480.1 MB, free: 3.219 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.02708, allocations: 0.671 MB / 480.7 MB, free: 2.461 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000718/0.0278, allocations: 0.9976 MB / 481.7 MB, free: 1.406 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.0278, allocations: 0 / 481.7 MB, free: 1.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001003/0.02881, allocations: 1.247 MB / 483 MB, free: 152 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.02882, allocations: 6.5 kB / 483 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.02883, allocations: 8 kB / 483 MB, free: 140 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.02908, allocations: 168.9 kB / 483.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.02942, allocations: 151.8 kB / 483.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.03142, allocations: 2.848 MB / 486.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.03166, allocations: 51.95 kB / 486.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.03169, allocations: 28 kB / 486.2 MB, free: 12.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,switch.control[1],switch.control[2],switch.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000453/0.03215, allocations: 0.5753 MB / 486.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.03222, allocations: 87.48 kB / 486.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.03232, allocations: 116.4 kB / 487 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.03233, allocations: 8 kB / 487 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.03234, allocations: 0 / 487 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.03234, allocations: 3.984 kB / 487 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/0.03482, allocations: 2.338 MB / 489.4 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.03482, allocations: 0 / 489.4 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.03507, allocations: 115.8 kB / 489.5 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.03528, allocations: 152.7 kB / 489.6 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.03532, allocations: 36.11 kB / 489.7 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.03715, allocations: 2.784 MB / 492.4 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.03715, allocations: 8 kB / 492.5 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.03867, allocations: 1.736 MB / 494.2 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.03889, allocations: 191.4 kB / 494.4 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.03895, allocations: 23.98 kB / 494.4 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.03917, allocations: 43.97 kB / 494.4 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.03928, allocations: 80.5 kB / 494.5 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.03931, allocations: 20 kB / 494.5 MB, free: 4.293 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006981/0.04001, allocations: 0.5809 MB / 495.1 MB, free: 3.715 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04001, allocations: 4 kB / 495.1 MB, free: 3.711 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005039/0.04051, allocations: 264 kB / 495.4 MB, free: 3.453 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (rootMeanSquare[3].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[1].mean.x,inductorLoad.inductor[3].i,inductor.inductor[3].i,inductor.inductor[1].i) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,switch.control[3],switch.control[2],switch.control[1]) * Number of discrete states: 3 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001303/0.04064, allocations: 137 kB / 495.5 MB, free: 3.309 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.04179, allocations: 1.113 MB / 496.6 MB, free: 2.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.04179, allocations: 0 / 496.6 MB, free: 2.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006633/0.04245, allocations: 0.7019 MB / 497.3 MB, free: 1.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.04302, allocations: 223 kB / 497.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.04574, allocations: 2.809 MB / 0.4886 GB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/0.04631, allocations: 0.8911 MB / 0.4895 GB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.04645, allocations: 68.48 kB / 0.4896 GB, free: 13.4 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.04645, allocations: 4 kB / 0.4896 GB, free: 13.39 MB / 362.7 MB Notification: Performance of Templates: time 0.01754/0.06399, allocations: 24.01 MB / 0.513 GB, free: 5.441 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.StarDelta.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarDelta.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarDelta.sim & ./HanserModelica_HanserModelica.Electrical.StarDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.768223963677883] Failed to read output from testmodel.py, exit status != 0: 0.06901141442358494 0.07794060599999994 0.06526981499999994 Calling exit ...