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.00147/0.00147, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.645/1.645, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.002034/0.002034, allocations: 217.9 kB / 309.2 MB, free: 3.129 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.0447/0.0447, allocations: 8.922 MB / 374.6 MB, free: 1.887 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.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: 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.002988/0.002988, allocations: 84.11 kB / 0.4897 GB, free: 6.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3275, allocations: 55.6 MB / 0.544 GB, free: 27.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.00456/0.3321, allocations: 4.127 MB / 0.548 GB, free: 24.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3342, allocations: 1.193 MB / 0.5492 GB, free: 23.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002903/0.3345, allocations: 35.34 kB / 0.5492 GB, free: 23.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.3348, allocations: 175.4 kB / 0.5494 GB, free: 23.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007251/0.3355, allocations: 293.9 kB / 0.5497 GB, free: 23.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.3359, allocations: 184.8 kB / 0.5498 GB, free: 23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.3372, allocations: 1.607 MB / 0.5514 GB, free: 22.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009145/0.3381, allocations: 0.8103 MB / 0.5522 GB, free: 21.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000762/0.3388, allocations: 0.7812 MB / 0.553 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009724/0.3398, allocations: 0.9073 MB / 0.5538 GB, free: 20.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.34, allocations: 191.3 kB / 0.554 GB, free: 20.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003637/0.3404, allocations: 206.8 kB / 0.5542 GB, free: 20.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004346/0.3408, allocations: 0.5298 MB / 0.5547 GB, free: 20.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008818/0.3417, allocations: 0.8689 MB / 0.5556 GB, free: 20.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.3442, allocations: 2.489 MB / 0.558 GB, free: 19.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3442, allocations: 0 / 0.558 GB, free: 19.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3442, allocations: 0 / 0.558 GB, free: 19.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.81e-05/0.3443, allocations: 7.5 kB / 0.558 GB, free: 19.21 MB / 382.1 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.003731/0.348, allocations: 2.265 MB / 0.5602 GB, free: 17.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3481, allocations: 9.406 kB / 0.5602 GB, free: 17.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006223/0.3487, allocations: 209.5 kB / 0.5604 GB, free: 17.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.3503, allocations: 0.9986 MB / 0.5614 GB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-05/0.3504, allocations: 106.4 kB / 0.5615 GB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.3506, allocations: 143.7 kB / 0.5617 GB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003565/0.3541, allocations: 1.929 MB / 0.5635 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/0.3542, allocations: 0 / 0.5635 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.3543, allocations: 57.2 kB / 0.5636 GB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.3543, allocations: 33.06 kB / 0.5636 GB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003128/0.3575, allocations: 1.598 MB / 0.5652 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00775/0.3652, allocations: 4.763 MB / 0.5698 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.3665, allocations: 0.8867 MB / 0.5707 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.3675, allocations: 0.6368 MB / 0.5713 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.278e-05/0.3676, allocations: 11.52 kB / 0.5713 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008163/0.3684, allocations: 0.5992 MB / 0.5719 GB, free: 12.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=74): time 2.034e-06/0.3684, allocations: 0 / 0.5719 GB, free: 12.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004335/0.3727, allocations: 2.717 MB / 0.5746 GB, free: 10.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.3728, allocations: 139.9 kB / 0.5747 GB, free: 10.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.3738, allocations: 0.8349 MB / 0.5755 GB, free: 10.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.921e-05/0.3739, allocations: 45.88 kB / 0.5756 GB, free: 10.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.3743, allocations: 0.6304 MB / 0.5762 GB, free: 9.473 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.3745, allocations: 280.9 kB / 0.5765 GB, free: 9.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.3747, allocations: 153.2 kB / 0.5766 GB, free: 9.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3748, allocations: 404.6 kB / 0.577 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006135/0.3754, allocations: 410.2 kB / 0.5774 GB, free: 8.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/0.3761, allocations: 0.5995 MB / 0.578 GB, free: 8.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.3774, allocations: 0.9981 MB / 0.5789 GB, free: 7.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3774, allocations: 2.406 kB / 0.5789 GB, free: 7.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001959/0.3794, allocations: 1.244 MB / 0.5802 GB, free: 6.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.3794, allocations: 10.92 kB / 0.5802 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.3794, allocations: 4.938 kB / 0.5802 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/0.3798, allocations: 165.9 kB / 0.5803 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006388/0.3805, allocations: 156.7 kB / 0.5805 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.3834, allocations: 2.904 MB / 0.5833 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/0.384, allocations: 47.97 kB / 0.5834 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.3841, allocations: 31.98 kB / 0.5834 GB, free: 4.105 MB / 382.1 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.0008269/0.3849, allocations: 0.5725 MB / 0.5839 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.3851, allocations: 91.44 kB / 0.584 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.3854, allocations: 108.7 kB / 0.5841 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3854, allocations: 15.92 kB / 0.5842 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/0.3854, allocations: 4 kB / 0.5842 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3854, allocations: 3.984 kB / 0.5842 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004084/0.3895, allocations: 2.638 MB / 0.5867 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.3895, allocations: 3.938 kB / 0.5867 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/0.39, allocations: 115.9 kB / 0.5868 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003363/0.3903, allocations: 152.9 kB / 0.587 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.172e-05/0.3904, allocations: 31.98 kB / 0.587 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003821/0.3942, allocations: 2.864 MB / 0.5898 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3942, allocations: 0 / 0.5898 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/0.3972, allocations: 1.724 MB / 0.5915 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006147/0.3978, allocations: 187.4 kB / 0.5917 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/0.398, allocations: 27.98 kB / 0.5917 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.3986, allocations: 43.97 kB / 0.5918 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.3988, allocations: 88.38 kB / 0.5918 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/0.3988, allocations: 20 kB / 0.5919 GB, free: 11.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001066/0.3999, allocations: 0.5927 MB / 0.5924 GB, free: 10.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3999, allocations: 0 / 0.5924 GB, free: 10.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001268/0.4012, allocations: 268 kB / 0.5927 GB, free: 10.36 MB / 398.1 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.000208/0.4014, allocations: 132 kB / 0.5928 GB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.4037, allocations: 1.113 MB / 0.5939 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.4037, allocations: 3.938 kB / 0.5939 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.4049, allocations: 0.6627 MB / 0.5946 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.4062, allocations: 223.2 kB / 0.5948 GB, free: 8.195 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006249/0.4124, allocations: 2.937 MB / 0.5976 GB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/0.4142, allocations: 1.516 MB / 0.5991 GB, free: 3.672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007416/0.415, allocations: 230.7 kB / 0.5993 GB, free: 3.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.4152, allocations: 63.42 kB / 0.5994 GB, free: 3.379 MB / 398.1 MB Notification: Performance of SimCode: time 9.91e-07/0.4152, allocations: 0 / 0.5994 GB, free: 3.379 MB / 398.1 MB Notification: Performance of Templates: time 0.03349/0.4487, allocations: 14.43 MB / 0.6135 GB, free: 5.113 MB / 414.1 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.677901270100847] Failed to read output from testmodel.py, exit status != 0: 0.45821170904673636 0.474057522 0.126574629 Calling exit ...