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.004056/0.004056, allocations: 170 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03557/0.03557, allocations: 8.797 MB / 24.65 MB, free: 4.121 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.2 MB / 250.7 MB, free: 6.578 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.0008441/0.0008442, allocations: 99.11 kB / 304 MB, free: 4.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 16 kB / 367.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.217, allocations: 52.53 MB / 419.6 MB, free: 48.17 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0934/0.3105, allocations: 84.96 MB / 0.4927 GB, free: 4.121 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.3107, allocations: 67.97 kB / 0.4928 GB, free: 4.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05393/0.3647, allocations: 22.46 MB / 0.5147 GB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3647, allocations: 0 / 0.5147 GB, free: 13.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.674e-05/0.3648, allocations: 39.94 kB / 0.5148 GB, free: 13.42 MB / 394.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.00285/0.3677, allocations: 1.636 MB / 0.5164 GB, free: 11.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3677, allocations: 8.562 kB / 0.5164 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003569/0.3681, allocations: 178 kB / 0.5166 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.3698, allocations: 0.9773 MB / 0.5175 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.07e-05/0.3699, allocations: 102.8 kB / 0.5176 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.3701, allocations: 143.9 kB / 0.5177 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.3729, allocations: 1.883 MB / 0.5196 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.3729, allocations: 0 / 0.5196 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.373, allocations: 63.98 kB / 0.5196 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.3731, allocations: 40 kB / 0.5197 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.3754, allocations: 1.478 MB / 0.5211 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007232/0.3827, allocations: 4.867 MB / 0.5259 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.3844, allocations: 1.849 MB / 0.5277 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.3844, allocations: 12.66 kB / 0.5277 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008792/0.3853, allocations: 0.6101 MB / 0.5283 GB, free: 15.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 2.354e-06/0.3853, allocations: 4 kB / 0.5283 GB, free: 15.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=77): time 0.004611/0.3899, allocations: 2.926 MB / 0.5312 GB, free: 12.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.39, allocations: 137.2 kB / 0.5313 GB, free: 11.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008519/0.3909, allocations: 0.7182 MB / 0.532 GB, free: 11.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/0.3909, allocations: 45.69 kB / 0.532 GB, free: 11.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004531/0.3914, allocations: 0.6044 MB / 0.5326 GB, free: 10.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.3916, allocations: 260.3 kB / 0.5329 GB, free: 10.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.3916, allocations: 16 kB / 0.5329 GB, free: 10.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3918, allocations: 398.7 kB / 0.5333 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/0.3924, allocations: 405.7 kB / 0.5337 GB, free: 9.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007051/0.3931, allocations: 0.5815 MB / 0.5342 GB, free: 8.762 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006817/0.3938, allocations: 486.9 kB / 0.5347 GB, free: 8.289 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.3938, allocations: 7.891 kB / 0.5347 GB, free: 8.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001819/0.3957, allocations: 1.223 MB / 0.5359 GB, free: 7.047 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3957, allocations: 7.938 kB / 0.5359 GB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3957, allocations: 4 kB / 0.5359 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003748/0.3961, allocations: 172.8 kB / 0.5361 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.3967, allocations: 159.7 kB / 0.5362 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002948/0.3997, allocations: 2.798 MB / 0.5389 GB, free: 3.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/0.4002, allocations: 60.02 kB / 0.539 GB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/0.4003, allocations: 28 kB / 0.539 GB, free: 3.688 MB / 410.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 () * Number of clocked 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.000888/0.4012, allocations: 0.5522 MB / 0.5396 GB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4013, allocations: 86.92 kB / 0.5397 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.4016, allocations: 112.3 kB / 0.5398 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4016, allocations: 12 kB / 0.5398 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.4016, allocations: 4 kB / 0.5398 GB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4016, allocations: 3.984 kB / 0.5398 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/0.4057, allocations: 2.672 MB / 0.5424 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4057, allocations: 4 kB / 0.5424 GB, free: 168 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004976/0.4063, allocations: 119.8 kB / 0.5425 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003462/0.4066, allocations: 159.2 kB / 0.5427 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.4067, allocations: 23.98 kB / 0.5427 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/0.4096, allocations: 2.766 MB / 0.5454 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.4097, allocations: 7.891 kB / 0.5454 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.4122, allocations: 1.805 MB / 0.5472 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005317/0.4128, allocations: 252.2 kB / 0.5474 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.4129, allocations: 31.97 kB / 0.5474 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.4134, allocations: 47.97 kB / 0.5475 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.4135, allocations: 72.5 kB / 0.5475 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.4136, allocations: 23.98 kB / 0.5476 GB, free: 10.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007019/0.4143, allocations: 0.5731 MB / 0.5481 GB, free: 10.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4143, allocations: 0 / 0.5481 GB, free: 10.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009173/0.4152, allocations: 264 kB / 0.5484 GB, free: 9.84 MB / 426.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) * Number of clocked states: 0 () * 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.0002281/0.4155, allocations: 139.1 kB / 0.5485 GB, free: 9.695 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.4173, allocations: 1.151 MB / 0.5496 GB, free: 8.531 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4173, allocations: 3.938 kB / 0.5496 GB, free: 8.527 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.4184, allocations: 0.698 MB / 0.5503 GB, free: 7.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.4192, allocations: 191.6 kB / 0.5505 GB, free: 7.641 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.4238, allocations: 3.372 MB / 0.5538 GB, free: 4.227 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.4248, allocations: 1.532 MB / 0.5553 GB, free: 2.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006926/0.4255, allocations: 218.5 kB / 0.5555 GB, free: 2.441 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.4257, allocations: 59.42 kB / 0.5556 GB, free: 2.383 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4258, allocations: 0 / 0.5556 GB, free: 2.383 MB / 426.7 MB Notification: Performance of Templates: time 0.1695/0.5953, allocations: 12.25 MB / 0.5675 GB, free: 115.2 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)