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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04743/0.04743, allocations: 8.716 MB / 16.79 MB, free: 3.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 221.5 MB / 240.9 MB, free: 13.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 93.36 kB / 293.9 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.631e-05/1.632e-05, allocations: 4 kB / 352.6 MB, free: 1.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1022, allocations: 52.55 MB / 405.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3075/0.4097, allocations: 84.22 MB / 489.4 MB, free: 3.117 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.41, allocations: 69.91 kB / 489.5 MB, free: 3.086 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05398/0.464, allocations: 22.29 MB / 0.4998 GB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.464, allocations: 4 kB / 0.4998 GB, free: 13.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001376/0.4641, allocations: 39.94 kB / 0.4998 GB, free: 13.42 MB / 378.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.003918/0.4681, allocations: 1.496 MB / 0.5013 GB, free: 11.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4681, allocations: 11.98 kB / 0.5013 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007453/0.4689, allocations: 174 kB / 0.5014 GB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.4712, allocations: 0.989 MB / 0.5024 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.51e-05/0.4713, allocations: 48 kB / 0.5025 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/0.4717, allocations: 83.95 kB / 0.5025 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002718/0.4744, allocations: 1.329 MB / 0.5038 GB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/0.4775, allocations: 1.62 MB / 0.5054 GB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.902e-05/0.4776, allocations: 4 kB / 0.5054 GB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.4777, allocations: 0 / 0.5054 GB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/0.4778, allocations: 35.98 kB / 0.5055 GB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008724/0.4865, allocations: 4.625 MB / 0.51 GB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.4882, allocations: 1.776 MB / 0.5117 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000818/0.489, allocations: 0.5541 MB / 0.5122 GB, free: 204 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.555e-05/0.4891, allocations: 20.69 kB / 0.5123 GB, free: 184 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.4901, allocations: 0.5521 MB / 0.5128 GB, free: 15.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=74): time 4.018e-06/0.4902, allocations: 1.875 kB / 0.5128 GB, free: 15.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=77): time 0.003905/0.4941, allocations: 2.187 MB / 0.5149 GB, free: 13.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.646e-05/0.4942, allocations: 145.3 kB / 0.5151 GB, free: 13.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.4953, allocations: 0.6518 MB / 0.5157 GB, free: 12.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.425e-05/0.4954, allocations: 29.7 kB / 0.5157 GB, free: 12.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006513/0.4961, allocations: 0.6003 MB / 0.5163 GB, free: 11.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.4963, allocations: 256.3 kB / 0.5166 GB, free: 11.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.4963, allocations: 0 / 0.5166 GB, free: 11.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.4966, allocations: 394.8 kB / 0.5169 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.497, allocations: 357.3 kB / 0.5173 GB, free: 10.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.4977, allocations: 0.5195 MB / 0.5178 GB, free: 10.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005917/0.4983, allocations: 440.2 kB / 0.5182 GB, free: 9.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.4983, allocations: 3.953 kB / 0.5182 GB, free: 9.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001692/0.5, allocations: 1.089 MB / 0.5193 GB, free: 8.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.5, allocations: 12.19 kB / 0.5193 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.5001, allocations: 8 kB / 0.5193 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003978/0.5005, allocations: 158.5 kB / 0.5195 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006439/0.5011, allocations: 155.7 kB / 0.5196 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/0.5042, allocations: 2.632 MB / 0.5222 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000666/0.5049, allocations: 48.02 kB / 0.5222 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-05/0.505, allocations: 28 kB / 0.5222 GB, free: 5.633 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,rootMeanSquare[1].mean.y_last,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.5052, allocations: 132.7 kB / 0.5224 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.5054, allocations: 83.02 kB / 0.5225 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.5058, allocations: 104.4 kB / 0.5226 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.5058, allocations: 8 kB / 0.5226 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.5058, allocations: 4 kB / 0.5226 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/0.5058, allocations: 3.984 kB / 0.5226 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004148/0.51, allocations: 2.356 MB / 0.5249 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.51, allocations: 3.984 kB / 0.5249 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.5105, allocations: 116 kB / 0.525 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003625/0.5109, allocations: 165.4 kB / 0.5251 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.539e-05/0.511, allocations: 15.98 kB / 0.5252 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003037/0.514, allocations: 2.594 MB / 0.5277 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/0.514, allocations: 8.016 kB / 0.5277 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.5164, allocations: 1.652 MB / 0.5293 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005597/0.517, allocations: 256.1 kB / 0.5296 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/0.5172, allocations: 21.3 kB / 0.5296 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005729/0.5178, allocations: 35.95 kB / 0.5296 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.518, allocations: 68.67 kB / 0.5297 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/0.5181, allocations: 27.94 kB / 0.5297 GB, free: 13.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007856/0.5189, allocations: 0.5108 MB / 0.5302 GB, free: 13.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5189, allocations: 0 / 0.5302 GB, free: 13.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001125/0.52, allocations: 236 kB / 0.5304 GB, free: 13 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (inductorLoad.inductor[1].i,inductorLoad.inductor[2].i,inductorLoad.inductor[3].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last) * Number of discrete states: 3 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00025/0.5203, allocations: 123.6 kB / 0.5305 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.522, allocations: 1.032 MB / 0.5315 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.522, allocations: 0 / 0.5315 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.5231, allocations: 0.6281 MB / 0.5322 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.5242, allocations: 182.9 kB / 0.5323 GB, free: 11.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005937/0.5301, allocations: 2.268 MB / 0.5346 GB, free: 8.711 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/0.5321, allocations: 1.532 MB / 0.536 GB, free: 7.152 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007995/0.5329, allocations: 218.1 kB / 0.5363 GB, free: 6.938 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.5332, allocations: 55.42 kB / 0.5363 GB, free: 6.883 MB / 410.7 MB Notification: Performance of SimCode: time 1.904e-06/0.5332, allocations: 3.938 kB / 0.5363 GB, free: 6.879 MB / 410.7 MB Notification: Performance of Templates: time 0.02161/0.5548, allocations: 10.84 MB / 0.5469 GB, free: 12.24 MB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.StarDelta.makefile (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)