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.00136/0.00136, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.567/1.567, allocations: 177.2 MB / 200.1 MB, free: 9.281 MB / 190.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.001785/0.001785, allocations: 157.4 kB / 256.6 MB, free: 0.7539 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.03975/0.03975, allocations: 6.67 MB / 319.6 MB, free: 12.07 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.002508/0.002508, allocations: 79.88 kB / 446.4 MB, free: 2.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3005, allocations: 55.58 MB / 0.4902 GB, free: 76.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.004171/0.3047, allocations: 3.759 MB / 0.4939 GB, free: 73.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3064, allocations: 1.135 MB / 0.495 GB, free: 73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.3066, allocations: 34.97 kB / 0.495 GB, free: 72.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.3069, allocations: 173.4 kB / 0.4952 GB, free: 72.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006593/0.3076, allocations: 285.5 kB / 0.4955 GB, free: 72.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.3079, allocations: 183.8 kB / 0.4957 GB, free: 72.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.3089, allocations: 1.604 MB / 0.4972 GB, free: 71.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007667/0.3097, allocations: 0.8032 MB / 0.498 GB, free: 71.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006053/0.3103, allocations: 0.7859 MB / 0.4988 GB, free: 71.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009081/0.3112, allocations: 0.9255 MB / 0.4997 GB, free: 70.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.3114, allocations: 189.2 kB / 0.4999 GB, free: 70.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.3117, allocations: 204.2 kB / 0.5001 GB, free: 70.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003602/0.3121, allocations: 0.5296 MB / 0.5006 GB, free: 70.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000534/0.3126, allocations: 0.7059 MB / 0.5013 GB, free: 69.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.3141, allocations: 2.51 MB / 0.5037 GB, free: 69.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3141, allocations: 0 / 0.5037 GB, free: 69.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3141, allocations: 7.875 kB / 0.5037 GB, free: 69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.3142, allocations: 4 kB / 0.5037 GB, free: 69 MB / 446.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.002992/0.3172, allocations: 2.265 MB / 0.5059 GB, free: 67.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3172, allocations: 9.688 kB / 0.5059 GB, free: 67.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005326/0.3177, allocations: 211.2 kB / 0.5061 GB, free: 67.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.319, allocations: 0.9978 MB / 0.5071 GB, free: 67.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.301e-05/0.3191, allocations: 104.5 kB / 0.5072 GB, free: 67.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.3193, allocations: 144.8 kB / 0.5074 GB, free: 67.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/0.3218, allocations: 2.004 MB / 0.5093 GB, free: 66.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.3218, allocations: 8 kB / 0.5093 GB, free: 66.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.322, allocations: 57.06 kB / 0.5094 GB, free: 66.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.322, allocations: 34.81 kB / 0.5094 GB, free: 66.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/0.3243, allocations: 1.593 MB / 0.511 GB, free: 65.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005491/0.3298, allocations: 4.18 MB / 0.5151 GB, free: 63.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.3309, allocations: 0.8905 MB / 0.5159 GB, free: 63.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009742/0.3319, allocations: 0.6275 MB / 0.5165 GB, free: 62.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.3319, allocations: 17.84 kB / 0.5165 GB, free: 62.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007831/0.3327, allocations: 0.6696 MB / 0.5172 GB, free: 62.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=74): time 2.274e-06/0.3327, allocations: 0 / 0.5172 GB, free: 62.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004118/0.3368, allocations: 2.721 MB / 0.5199 GB, free: 61.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.3368, allocations: 145.7 kB / 0.52 GB, free: 61.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000794/0.3376, allocations: 0.8185 MB / 0.5208 GB, free: 60.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/0.3377, allocations: 43.67 kB / 0.5208 GB, free: 60.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.338, allocations: 0.6375 MB / 0.5215 GB, free: 60.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.3382, allocations: 277.1 kB / 0.5217 GB, free: 60.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.3384, allocations: 156.8 kB / 0.5219 GB, free: 60.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3385, allocations: 398.9 kB / 0.5223 GB, free: 59.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005967/0.3391, allocations: 408.9 kB / 0.5226 GB, free: 59.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008384/0.3399, allocations: 0.6747 MB / 0.5233 GB, free: 59.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.3415, allocations: 0.9987 MB / 0.5243 GB, free: 58.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3415, allocations: 1.469 kB / 0.5243 GB, free: 58.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002079/0.3436, allocations: 1.235 MB / 0.5255 GB, free: 58.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3436, allocations: 6.281 kB / 0.5255 GB, free: 58.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.3436, allocations: 4.469 kB / 0.5255 GB, free: 58.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000434/0.344, allocations: 173.5 kB / 0.5257 GB, free: 58.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.3446, allocations: 152.9 kB / 0.5258 GB, free: 58.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.3475, allocations: 2.851 MB / 0.5286 GB, free: 56.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/0.348, allocations: 48.42 kB / 0.5286 GB, free: 56.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.321e-05/0.3481, allocations: 27.64 kB / 0.5287 GB, free: 56.16 MB / 446.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.000892/0.349, allocations: 0.5664 MB / 0.5292 GB, free: 55.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.3491, allocations: 93.3 kB / 0.5293 GB, free: 55.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.3493, allocations: 112.3 kB / 0.5294 GB, free: 55.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3493, allocations: 7.5 kB / 0.5294 GB, free: 55.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.95e-05/0.3493, allocations: 3.359 kB / 0.5294 GB, free: 55.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.3493, allocations: 7.5 kB / 0.5294 GB, free: 55.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/0.3533, allocations: 2.339 MB / 0.5317 GB, free: 54.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3534, allocations: 1.281 kB / 0.5317 GB, free: 54.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.3539, allocations: 118.4 kB / 0.5318 GB, free: 54.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003418/0.3542, allocations: 152.3 kB / 0.532 GB, free: 54.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/0.3543, allocations: 26.97 kB / 0.532 GB, free: 54.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002691/0.357, allocations: 2.805 MB / 0.5347 GB, free: 52.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.357, allocations: 1.5 kB / 0.5347 GB, free: 52.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/0.3596, allocations: 1.733 MB / 0.5364 GB, free: 51.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/0.36, allocations: 202 kB / 0.5366 GB, free: 51.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3601, allocations: 31.27 kB / 0.5367 GB, free: 51.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.3605, allocations: 43 kB / 0.5367 GB, free: 51.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.3607, allocations: 78.73 kB / 0.5368 GB, free: 51.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.3607, allocations: 21.59 kB / 0.5368 GB, free: 51.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007601/0.3615, allocations: 0.579 MB / 0.5374 GB, free: 51.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3615, allocations: 1.5 kB / 0.5374 GB, free: 51.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001003/0.3625, allocations: 268.7 kB / 0.5376 GB, free: 51.59 MB / 446.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.0001476/0.3626, allocations: 143 kB / 0.5378 GB, free: 51.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.3645, allocations: 1.11 MB / 0.5388 GB, free: 51.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3645, allocations: 0 / 0.5388 GB, free: 51.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.3655, allocations: 0.6706 MB / 0.5395 GB, free: 50.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000945/0.3665, allocations: 215.9 kB / 0.5397 GB, free: 50.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/0.3708, allocations: 2.923 MB / 0.5426 GB, free: 49.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.3719, allocations: 0.9307 MB / 0.5435 GB, free: 48.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005622/0.3724, allocations: 228 kB / 0.5437 GB, free: 48.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.3726, allocations: 62.17 kB / 0.5437 GB, free: 48.95 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3726, allocations: 0 / 0.5437 GB, free: 48.95 MB / 446.1 MB Notification: Performance of Templates: time 0.02234/0.3949, allocations: 14 MB / 0.5574 GB, free: 40.36 MB / 446.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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.650982707971707] Failed to read output from testmodel.py, exit status != 0: 0.4026701779803261 0.41161641000000004 0.09528393 Calling exit ...