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.001526/0.001526, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.471/1.471, allocations: 230.6 MB / 253.4 MB, free: 8.301 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.001609/0.001609, allocations: 225.6 kB / 310 MB, free: 3.148 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.04092/0.04092, allocations: 8.908 MB / 375.3 MB, free: 1.914 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.002927/0.002927, allocations: 91.88 kB / 0.4904 GB, free: 6.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3294, allocations: 55.6 MB / 0.5447 GB, free: 27.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.004525/0.3339, allocations: 4.12 MB / 0.5488 GB, free: 24.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.336, allocations: 1.199 MB / 0.5499 GB, free: 23.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.3364, allocations: 30.94 kB / 0.55 GB, free: 23.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.3367, allocations: 174.4 kB / 0.5501 GB, free: 23.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008192/0.3376, allocations: 290.5 kB / 0.5504 GB, free: 23.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.3379, allocations: 184.1 kB / 0.5506 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.3392, allocations: 1.609 MB / 0.5521 GB, free: 22.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008223/0.34, allocations: 0.8197 MB / 0.5529 GB, free: 21.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008088/0.3408, allocations: 0.7709 MB / 0.5537 GB, free: 21.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.3418, allocations: 0.9053 MB / 0.5546 GB, free: 20.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.342, allocations: 193.3 kB / 0.5548 GB, free: 20.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.3424, allocations: 208.5 kB / 0.555 GB, free: 20.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003377/0.3427, allocations: 0.5282 MB / 0.5555 GB, free: 20.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007164/0.3434, allocations: 0.8736 MB / 0.5563 GB, free: 20.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.3455, allocations: 2.49 MB / 0.5588 GB, free: 19.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3455, allocations: 0 / 0.5588 GB, free: 19.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3455, allocations: 3.938 kB / 0.5588 GB, free: 19.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.537e-05/0.3455, allocations: 0 / 0.5588 GB, free: 19.2 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.003799/0.3493, allocations: 2.275 MB / 0.561 GB, free: 17.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3494, allocations: 6.406 kB / 0.561 GB, free: 17.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005807/0.35, allocations: 210.1 kB / 0.5612 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.3517, allocations: 0.997 MB / 0.5622 GB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7e-05/0.3517, allocations: 106.9 kB / 0.5623 GB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.3519, allocations: 148.8 kB / 0.5624 GB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003169/0.3551, allocations: 1.925 MB / 0.5643 GB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.954e-05/0.3551, allocations: 1.688 kB / 0.5643 GB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.3552, allocations: 57.42 kB / 0.5643 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.3553, allocations: 32.66 kB / 0.5644 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.358, allocations: 1.595 MB / 0.5659 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/0.3686, allocations: 4.761 MB / 0.5706 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.3699, allocations: 0.8833 MB / 0.5714 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.3709, allocations: 0.6323 MB / 0.5721 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.914e-05/0.371, allocations: 12.91 kB / 0.5721 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008416/0.3718, allocations: 0.5984 MB / 0.5727 GB, free: 12.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=74): time 2.836e-06/0.3718, allocations: 4 kB / 0.5727 GB, free: 12.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004696/0.3765, allocations: 2.714 MB / 0.5753 GB, free: 10.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.3766, allocations: 143.2 kB / 0.5755 GB, free: 10.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.3777, allocations: 0.8347 MB / 0.5763 GB, free: 10.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/0.3778, allocations: 47.41 kB / 0.5763 GB, free: 10.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004868/0.3783, allocations: 0.6304 MB / 0.5769 GB, free: 9.484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.3784, allocations: 280.6 kB / 0.5772 GB, free: 9.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.3786, allocations: 152.7 kB / 0.5773 GB, free: 9.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3788, allocations: 400 kB / 0.5777 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005851/0.3793, allocations: 411.2 kB / 0.5781 GB, free: 8.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006675/0.38, allocations: 0.603 MB / 0.5787 GB, free: 8.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.3813, allocations: 0.995 MB / 0.5797 GB, free: 7.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.3813, allocations: 5.25 kB / 0.5797 GB, free: 7.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001976/0.3833, allocations: 1.249 MB / 0.5809 GB, free: 6.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.3833, allocations: 6.219 kB / 0.5809 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.3833, allocations: 5.531 kB / 0.5809 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004118/0.3837, allocations: 168.6 kB / 0.5811 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/0.3843, allocations: 158.2 kB / 0.5812 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.387, allocations: 2.897 MB / 0.5841 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/0.3876, allocations: 52.03 kB / 0.5841 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.3877, allocations: 27.98 kB / 0.5841 GB, free: 4.117 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.0008826/0.3886, allocations: 0.5764 MB / 0.5847 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.3887, allocations: 87.44 kB / 0.5848 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.3889, allocations: 116.5 kB / 0.5849 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3889, allocations: 15.88 kB / 0.5849 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/0.3889, allocations: 0 / 0.5849 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.3889, allocations: 7.984 kB / 0.5849 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.3924, allocations: 2.63 MB / 0.5875 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.3924, allocations: 3.938 kB / 0.5875 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.3928, allocations: 119.8 kB / 0.5876 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002863/0.3931, allocations: 152.7 kB / 0.5877 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.811e-05/0.3932, allocations: 32.11 kB / 0.5878 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00329/0.3965, allocations: 2.853 MB / 0.5906 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3965, allocations: 3.938 kB / 0.5906 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.3992, allocations: 1.732 MB / 0.5923 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005916/0.3998, allocations: 187.4 kB / 0.5924 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.4, allocations: 27.98 kB / 0.5925 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.4004, allocations: 43.95 kB / 0.5925 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.4006, allocations: 84.44 kB / 0.5926 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.4006, allocations: 24 kB / 0.5926 GB, free: 11.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000842/0.4014, allocations: 0.5926 MB / 0.5932 GB, free: 10.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4014, allocations: 0 / 0.5932 GB, free: 10.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001063/0.4025, allocations: 272 kB / 0.5934 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.0002008/0.4027, allocations: 129.6 kB / 0.5936 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002057/0.4048, allocations: 1.11 MB / 0.5947 GB, free: 9.102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4048, allocations: 0 / 0.5947 GB, free: 9.102 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.406, allocations: 0.7007 MB / 0.5953 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.4071, allocations: 230.8 kB / 0.5956 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005202/0.4123, allocations: 2.912 MB / 0.5984 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.4135, allocations: 1.497 MB / 0.5999 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/0.4139, allocations: 63.42 kB / 0.5999 GB, free: 3.617 MB / 398.1 MB Notification: Performance of SimCode: time 1.613e-06/0.4139, allocations: 0 / 0.5999 GB, free: 3.617 MB / 398.1 MB Notification: Performance of Templates: time 0.03444/0.4483, allocations: 23.52 MB / 0.6229 GB, free: 12.17 MB / 430.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: 10.466687334002927] Failed to read output from testmodel.py, exit status != 0: 0.45819258503615856 0.473178503 0.12441999699999995 Calling exit ...