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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.0013/0.0013, allocations: 172.1 kB / 16.12 MB, free: 5.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.04407/0.04407, allocations: 8.777 MB / 25.64 MB, free: 3.797 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.4 MB / 233.9 MB, free: 14.54 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008919/0.0008919, allocations: 101.3 kB / 284.4 MB, free: 14.6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.0004799, allocations: 16 kB / 344.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2462, allocations: 49.71 MB / 394.5 MB, free: 36.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.3513, allocations: 84.17 MB / 478.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.3516, allocations: 71.97 kB / 478.8 MB, free: 432 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0577/0.4093, allocations: 21.95 MB / 0.489 GB, free: 10.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4094, allocations: 0 / 0.489 GB, free: 10.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001479/0.4095, allocations: 35.94 kB / 0.489 GB, free: 10.28 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004362/0.4139, allocations: 1.596 MB / 0.4906 GB, free: 8.617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.414, allocations: 12.03 kB / 0.4906 GB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008774/0.4148, allocations: 175 kB / 0.4907 GB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.4172, allocations: 1.013 MB / 0.4917 GB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.4174, allocations: 107.1 kB / 0.4918 GB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003633/0.4177, allocations: 140.4 kB / 0.492 GB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00366/0.4214, allocations: 1.875 MB / 0.4938 GB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/0.4215, allocations: 8.125 kB / 0.4938 GB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.4216, allocations: 59.94 kB / 0.4939 GB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.4217, allocations: 32 kB / 0.4939 GB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/0.4244, allocations: 1.478 MB / 0.4953 GB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.21/0.6344, allocations: 4.873 MB / 0.5001 GB, free: 91.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.636, allocations: 1.844 MB / 0.5019 GB, free: 90.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.6375, allocations: 0.6853 MB / 0.5026 GB, free: 90.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.198e-05/0.6376, allocations: 11.31 kB / 0.5026 GB, free: 90.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.6387, allocations: 0.6065 MB / 0.5032 GB, free: 90.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 4.328e-06/0.6387, allocations: 3.984 kB / 0.5032 GB, free: 90.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.004504/0.6432, allocations: 2.81 MB / 0.5059 GB, free: 90.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.6433, allocations: 144.5 kB / 0.5061 GB, free: 90.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009435/0.6443, allocations: 0.7972 MB / 0.5068 GB, free: 89.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.6443, allocations: 47.3 kB / 0.5069 GB, free: 89.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005197/0.6449, allocations: 0.6063 MB / 0.5075 GB, free: 89.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.6451, allocations: 261.9 kB / 0.5077 GB, free: 89.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.6451, allocations: 15.06 kB / 0.5077 GB, free: 89.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.6452, allocations: 396.9 kB / 0.5081 GB, free: 89.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005469/0.6458, allocations: 410.2 kB / 0.5085 GB, free: 89.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.6464, allocations: 0.5762 MB / 0.5091 GB, free: 89.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.6476, allocations: 0.97 MB / 0.51 GB, free: 88.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.6476, allocations: 6.562 kB / 0.51 GB, free: 88.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001735/0.6493, allocations: 1.224 MB / 0.5112 GB, free: 88.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.6494, allocations: 11.28 kB / 0.5112 GB, free: 88.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.6494, allocations: 3.969 kB / 0.5112 GB, free: 88.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/0.6498, allocations: 167.7 kB / 0.5114 GB, free: 88.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/0.6503, allocations: 156.6 kB / 0.5115 GB, free: 88.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.6528, allocations: 2.749 MB / 0.5142 GB, free: 87.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/0.6535, allocations: 53.05 kB / 0.5143 GB, free: 87.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.6535, allocations: 33.69 kB / 0.5143 GB, free: 87.11 MB / 378.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,rootMeanSquare[3].mean.y,$PRE.rootMeanSquare[2].mean.y,rootMeanSquare[2].mean.y,$PRE.rootMeanSquare[1].mean.y,rootMeanSquare[1].mean.y,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 (83): * Single equations (assignments): 82 * 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.0009871/0.6545, allocations: 0.5508 MB / 0.5148 GB, free: 86.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.6547, allocations: 86.53 kB / 0.5149 GB, free: 86.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.6549, allocations: 111 kB / 0.515 GB, free: 86.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.6549, allocations: 6.969 kB / 0.515 GB, free: 86.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/0.6549, allocations: 0 / 0.515 GB, free: 86.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.6549, allocations: 6.703 kB / 0.515 GB, free: 86.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003829/0.6588, allocations: 2.694 MB / 0.5177 GB, free: 85.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6588, allocations: 2.953 kB / 0.5177 GB, free: 85.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.6593, allocations: 116.9 kB / 0.5178 GB, free: 85.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/0.6596, allocations: 164.5 kB / 0.5179 GB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/0.6596, allocations: 23.12 kB / 0.518 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/0.6619, allocations: 2.703 MB / 0.5206 GB, free: 83.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6619, allocations: 1.406 kB / 0.5206 GB, free: 83.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.6639, allocations: 1.754 MB / 0.5223 GB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.6643, allocations: 249.2 kB / 0.5226 GB, free: 82.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.6644, allocations: 27.12 kB / 0.5226 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.6648, allocations: 52.58 kB / 0.5226 GB, free: 82.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.665, allocations: 78.34 kB / 0.5227 GB, free: 82.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.665, allocations: 22.66 kB / 0.5227 GB, free: 82.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007065/0.6657, allocations: 0.5677 MB / 0.5233 GB, free: 82.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6658, allocations: 0 / 0.5233 GB, free: 82.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001132/0.6669, allocations: 266.7 kB / 0.5235 GB, free: 82.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inductor.inductor[2].i,inductor.inductor[3].i,inductorLoad.inductor[2].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,rootMeanSquare[2].mean.y,rootMeanSquare[3].mean.y) * 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 (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.0002207/0.6671, allocations: 141.2 kB / 0.5237 GB, free: 82.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.6691, allocations: 1.138 MB / 0.5248 GB, free: 81.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6691, allocations: 0 / 0.5248 GB, free: 81.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.6701, allocations: 0.6953 MB / 0.5255 GB, free: 81.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.6712, allocations: 222.8 kB / 0.5257 GB, free: 81.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006189/0.6774, allocations: 3.379 MB / 0.529 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.6787, allocations: 1.504 MB / 0.5304 GB, free: 77.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001073/0.6798, allocations: 218.8 kB / 0.5307 GB, free: 77.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.6801, allocations: 55.19 kB / 0.5307 GB, free: 77.64 MB / 378.7 MB Notification: Performance of SimCode: time 9.31e-07/0.6801, allocations: 0 / 0.5307 GB, free: 77.64 MB / 378.7 MB Notification: Performance of Templates: time 0.02055/0.7007, allocations: 12.43 MB / 0.5428 GB, free: 67.4 MB / 378.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)