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.001728/0.001728, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.671/1.671, allocations: 230.6 MB / 252.7 MB, free: 14.29 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.003044/0.003044, allocations: 211 kB / 309.2 MB, free: 3.105 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.04378/0.04378, allocations: 8.93 MB / 374.6 MB, free: 6.586 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.002593/0.002593, allocations: 79.88 kB / 0.4896 GB, free: 44.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08422/0.08682, allocations: 55.61 MB / 0.5439 GB, free: 4.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.006628/0.09344, allocations: 3.741 MB / 0.5476 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.09634, allocations: 1.129 MB / 0.5487 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006557/0.09699, allocations: 39.75 kB / 0.5487 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005907/0.09758, allocations: 174.7 kB / 0.5489 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.09894, allocations: 290.4 kB / 0.5492 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/0.09954, allocations: 191.6 kB / 0.5493 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002075/0.1016, allocations: 1.603 MB / 0.5509 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.103, allocations: 0.8041 MB / 0.5517 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.1045, allocations: 0.7867 MB / 0.5525 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.1063, allocations: 0.9185 MB / 0.5534 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005188/0.1068, allocations: 192 kB / 0.5535 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006974/0.1075, allocations: 203.9 kB / 0.5537 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008492/0.1084, allocations: 0.5259 MB / 0.5543 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001627/0.11, allocations: 0.7157 MB / 0.555 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.1129, allocations: 2.491 MB / 0.5574 GB, free: 6.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.1129, allocations: 8 kB / 0.5574 GB, free: 6.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1129, allocations: 0 / 0.5574 GB, free: 6.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.384e-05/0.113, allocations: 0 / 0.5574 GB, free: 6.68 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.004656/0.1176, allocations: 2.267 MB / 0.5596 GB, free: 4.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1177, allocations: 11.98 kB / 0.5596 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006354/0.1183, allocations: 211.8 kB / 0.5598 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.1204, allocations: 1.007 MB / 0.5608 GB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.1205, allocations: 111.1 kB / 0.5609 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/0.1208, allocations: 144.1 kB / 0.561 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003482/0.1242, allocations: 2.008 MB / 0.563 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/0.1243, allocations: 0 / 0.563 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.1244, allocations: 56 kB / 0.5631 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.1244, allocations: 32 kB / 0.5631 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2073/0.3317, allocations: 1.59 MB / 0.5646 GB, free: 25.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006831/0.3386, allocations: 4.176 MB / 0.5687 GB, free: 24.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.3399, allocations: 0.8847 MB / 0.5696 GB, free: 24.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.3412, allocations: 0.6318 MB / 0.5702 GB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.3412, allocations: 10.52 kB / 0.5702 GB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.3423, allocations: 0.6742 MB / 0.5709 GB, free: 23.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=74): time 2.845e-06/0.3423, allocations: 0 / 0.5709 GB, free: 23.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.005307/0.3476, allocations: 2.708 MB / 0.5735 GB, free: 22.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.3477, allocations: 142 kB / 0.5736 GB, free: 22.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.3489, allocations: 0.8253 MB / 0.5745 GB, free: 22.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.3489, allocations: 43.81 kB / 0.5745 GB, free: 22.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004859/0.3494, allocations: 0.6351 MB / 0.5751 GB, free: 21.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.3496, allocations: 282.2 kB / 0.5754 GB, free: 21.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.3498, allocations: 150.4 kB / 0.5755 GB, free: 21.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.35, allocations: 402.3 kB / 0.5759 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006671/0.3506, allocations: 409.7 kB / 0.5763 GB, free: 21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007565/0.3514, allocations: 0.6778 MB / 0.577 GB, free: 20.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.3528, allocations: 0.9999 MB / 0.5779 GB, free: 20.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3528, allocations: 1.812 kB / 0.5779 GB, free: 20.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002007/0.3548, allocations: 1.249 MB / 0.5792 GB, free: 19.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3548, allocations: 6.922 kB / 0.5792 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.3548, allocations: 5.875 kB / 0.5792 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004448/0.3552, allocations: 168.3 kB / 0.5793 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/0.3559, allocations: 159.5 kB / 0.5795 GB, free: 19.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.3586, allocations: 2.848 MB / 0.5823 GB, free: 17.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005652/0.3592, allocations: 48.77 kB / 0.5823 GB, free: 17.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-05/0.3592, allocations: 30.89 kB / 0.5823 GB, free: 17.52 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.0009296/0.3601, allocations: 0.5693 MB / 0.5829 GB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.3603, allocations: 85.61 kB / 0.583 GB, free: 17.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.3605, allocations: 112 kB / 0.5831 GB, free: 17.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.3605, allocations: 13.31 kB / 0.5831 GB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.74e-05/0.3605, allocations: 1.562 kB / 0.5831 GB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.3606, allocations: 5.484 kB / 0.5831 GB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/0.3645, allocations: 2.34 MB / 0.5854 GB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3645, allocations: 2.188 kB / 0.5854 GB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/0.365, allocations: 113.8 kB / 0.5855 GB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003395/0.3654, allocations: 157.2 kB / 0.5857 GB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.3654, allocations: 30.27 kB / 0.5857 GB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.368, allocations: 2.814 MB / 0.5884 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.368, allocations: 9.344 kB / 0.5884 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.3703, allocations: 1.716 MB / 0.5901 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/0.3708, allocations: 190 kB / 0.5903 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.3709, allocations: 30.83 kB / 0.5903 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.3713, allocations: 45.3 kB / 0.5904 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.3715, allocations: 72.7 kB / 0.5904 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.3716, allocations: 33.23 kB / 0.5905 GB, free: 13.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007361/0.3723, allocations: 0.5785 MB / 0.591 GB, free: 12.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3723, allocations: 0 / 0.591 GB, free: 12.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001052/0.3734, allocations: 265.2 kB / 0.5913 GB, free: 12.67 MB / 382.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.0001582/0.3735, allocations: 130.8 kB / 0.5914 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001869/0.3754, allocations: 1.114 MB / 0.5925 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.3754, allocations: 1.062 kB / 0.5925 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.3765, allocations: 0.6676 MB / 0.5932 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.3775, allocations: 223 kB / 0.5934 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.3821, allocations: 2.915 MB / 0.5962 GB, free: 9.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008515/0.3829, allocations: 0.9281 MB / 0.5971 GB, free: 9.223 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005687/0.3835, allocations: 231.8 kB / 0.5973 GB, free: 9.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.3836, allocations: 60 kB / 0.5974 GB, free: 9.125 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3836, allocations: 0 / 0.5974 GB, free: 9.125 MB / 382.1 MB Notification: Performance of Templates: time 0.02321/0.4069, allocations: 15.51 MB / 0.6125 GB, free: 10.97 MB / 398.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.874558476731181] Failed to read output from testmodel.py, exit status != 0: 0.41514309495687485 0.43109713400000005 0.31506005000000004 Calling exit ...