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.001464/0.001464, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03748/0.03748, allocations: 8.704 MB / 21.96 MB, free: 3.734 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.257/1.257, allocations: 221.4 MB / 246 MB, free: 3.562 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.0008984/0.0008981, allocations: 90.17 kB / 299.1 MB, free: 2.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.673e-05, allocations: 4 kB / 359.5 MB, free: 6.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2761, allocations: 52.54 MB / 412.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.3844, allocations: 84.9 MB / 496.9 MB, free: 1.543 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.3846, allocations: 79.94 kB / 497 MB, free: 1.465 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.294/0.6787, allocations: 22.51 MB / 0.5074 GB, free: 85.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.6788, allocations: 0 / 0.5074 GB, free: 85.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.135e-05/0.6789, allocations: 37.42 kB / 0.5074 GB, free: 85.15 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.002726/0.6816, allocations: 1.5 MB / 0.5089 GB, free: 84.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.6817, allocations: 9.188 kB / 0.5089 GB, free: 84.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/0.6821, allocations: 174.4 kB / 0.509 GB, free: 84.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.6843, allocations: 0.9887 MB / 0.51 GB, free: 83.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.6844, allocations: 108.3 kB / 0.5101 GB, free: 83.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.6846, allocations: 146 kB / 0.5102 GB, free: 83.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.6872, allocations: 1.822 MB / 0.512 GB, free: 83.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.6872, allocations: 3.938 kB / 0.512 GB, free: 83.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.6873, allocations: 60.23 kB / 0.5121 GB, free: 83.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.6874, allocations: 35.38 kB / 0.5121 GB, free: 83.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.6893, allocations: 1.402 MB / 0.5135 GB, free: 83.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006573/0.6959, allocations: 4.87 MB / 0.5182 GB, free: 81.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.6971, allocations: 1.81 MB / 0.52 GB, free: 79.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008245/0.6979, allocations: 0.6476 MB / 0.5206 GB, free: 79.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.125e-05/0.698, allocations: 21.39 kB / 0.5207 GB, free: 79.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006496/0.6986, allocations: 0.5692 MB / 0.5212 GB, free: 79.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.494e-06/0.6986, allocations: 0 / 0.5212 GB, free: 79.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.003283/0.7019, allocations: 2.333 MB / 0.5235 GB, free: 78.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.702, allocations: 140.3 kB / 0.5236 GB, free: 78.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007807/0.7028, allocations: 0.7167 MB / 0.5243 GB, free: 77.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/0.7029, allocations: 44.77 kB / 0.5244 GB, free: 77.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.7033, allocations: 0.5998 MB / 0.525 GB, free: 77.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.7034, allocations: 265.9 kB / 0.5252 GB, free: 77.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.7035, allocations: 12 kB / 0.5252 GB, free: 77.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.7036, allocations: 402.4 kB / 0.5256 GB, free: 76.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.704, allocations: 378.5 kB / 0.526 GB, free: 76.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.7045, allocations: 0.5372 MB / 0.5265 GB, free: 76.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.7051, allocations: 454.1 kB / 0.5269 GB, free: 76.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7051, allocations: 4 kB / 0.5269 GB, free: 76.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001394/0.7065, allocations: 1.159 MB / 0.5281 GB, free: 75.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.7065, allocations: 11.95 kB / 0.5281 GB, free: 75.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.7065, allocations: 4 kB / 0.5281 GB, free: 75.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/0.7069, allocations: 167.8 kB / 0.5282 GB, free: 74.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/0.7075, allocations: 150 kB / 0.5284 GB, free: 74.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.7098, allocations: 2.721 MB / 0.531 GB, free: 72.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.7104, allocations: 55.22 kB / 0.5311 GB, free: 72.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.7104, allocations: 34.81 kB / 0.5311 GB, free: 72.17 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_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 (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.0001828/0.7106, allocations: 155.3 kB / 0.5313 GB, free: 72.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.961e-05/0.7107, allocations: 82.97 kB / 0.5313 GB, free: 71.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.711, allocations: 106.2 kB / 0.5315 GB, free: 71.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.711, allocations: 8 kB / 0.5315 GB, free: 71.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.711, allocations: 4 kB / 0.5315 GB, free: 71.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.711, allocations: 7.281 kB / 0.5315 GB, free: 71.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003784/0.7148, allocations: 2.622 MB / 0.534 GB, free: 69.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.7149, allocations: 4 kB / 0.534 GB, free: 69.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004789/0.7153, allocations: 110.4 kB / 0.5341 GB, free: 69.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003142/0.7157, allocations: 171.6 kB / 0.5343 GB, free: 69.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.7157, allocations: 23.52 kB / 0.5343 GB, free: 69.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.718, allocations: 2.678 MB / 0.5369 GB, free: 66.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.7181, allocations: 3.312 kB / 0.5369 GB, free: 66.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.7201, allocations: 1.701 MB / 0.5386 GB, free: 65.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004936/0.7206, allocations: 252.1 kB / 0.5388 GB, free: 64.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.7207, allocations: 35.98 kB / 0.5389 GB, free: 64.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.7212, allocations: 43.95 kB / 0.5389 GB, free: 64.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.7213, allocations: 72.67 kB / 0.539 GB, free: 64.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.7214, allocations: 27.98 kB / 0.539 GB, free: 64.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007328/0.7221, allocations: 0.5654 MB / 0.5396 GB, free: 64.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7221, allocations: 3.938 kB / 0.5396 GB, free: 64.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001086/0.7232, allocations: 260 kB / 0.5398 GB, free: 63.84 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_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 (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.0002247/0.7235, allocations: 140.7 kB / 0.54 GB, free: 63.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.7251, allocations: 1.065 MB / 0.541 GB, free: 62.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7252, allocations: 0 / 0.541 GB, free: 62.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009168/0.7261, allocations: 0.6633 MB / 0.5416 GB, free: 61.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.7272, allocations: 200.1 kB / 0.5418 GB, free: 61.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.7314, allocations: 2.309 MB / 0.5441 GB, free: 59.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008013/0.7322, allocations: 1.535 MB / 0.5456 GB, free: 57.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005431/0.7328, allocations: 214.1 kB / 0.5458 GB, free: 57.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.7329, allocations: 63.42 kB / 0.5459 GB, free: 57.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.683e-06/0.7329, allocations: 0 / 0.5459 GB, free: 57.6 MB / 378.7 MB Notification: Performance of Templates: time 0.018/0.7509, allocations: 12.25 MB / 0.5578 GB, free: 45.63 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)