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: "" <> buildModelFMU(HanserModelica.Electrical.StarDelta,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.StarDelta,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 173.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05278/0.05278, allocations: 8.719 MB / 16.79 MB, free: 3.371 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.438/1.438, allocations: 221.5 MB / 240.9 MB, free: 13.18 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.001066/0.001066, allocations: 91.98 kB / 293.8 MB, free: 7.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.324e-05/1.327e-05, allocations: 0 / 352.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 52.56 MB / 405.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4609, allocations: 84.23 MB / 489.5 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.4612, allocations: 71.78 kB / 489.6 MB, free: 2.844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05515/0.5163, allocations: 22.28 MB / 0.4999 GB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5164, allocations: 4 kB / 0.4999 GB, free: 13.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.194e-05/0.5165, allocations: 35.94 kB / 0.4999 GB, free: 13.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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.00284/0.5193, allocations: 1.515 MB / 0.5014 GB, free: 11.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5194, allocations: 11.98 kB / 0.5014 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004011/0.5198, allocations: 174 kB / 0.5015 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.5214, allocations: 0.9812 MB / 0.5025 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.759e-05/0.5214, allocations: 48 kB / 0.5026 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.5216, allocations: 87.95 kB / 0.5026 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002083/0.5237, allocations: 1.325 MB / 0.5039 GB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002621/0.5263, allocations: 1.625 MB / 0.5055 GB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.5264, allocations: 0 / 0.5055 GB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.5265, allocations: 8 kB / 0.5055 GB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.5265, allocations: 32 kB / 0.5056 GB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008115/0.5347, allocations: 4.629 MB / 0.5101 GB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.5363, allocations: 1.773 MB / 0.5118 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008119/0.5371, allocations: 0.558 MB / 0.5124 GB, free: 36 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.968e-05/0.5372, allocations: 8.781 kB / 0.5124 GB, free: 28 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007965/0.538, allocations: 0.5481 MB / 0.5129 GB, free: 15.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=74): time 2.434e-06/0.538, allocations: 4 kB / 0.5129 GB, free: 15.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=77): time 0.003672/0.5417, allocations: 2.183 MB / 0.515 GB, free: 13.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.864e-05/0.5418, allocations: 149.3 kB / 0.5152 GB, free: 13.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008705/0.5427, allocations: 0.6518 MB / 0.5158 GB, free: 12.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.599e-05/0.5427, allocations: 29.69 kB / 0.5158 GB, free: 12.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000565/0.5433, allocations: 0.6043 MB / 0.5164 GB, free: 11.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.5435, allocations: 248.3 kB / 0.5167 GB, free: 11.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.5436, allocations: 0 / 0.5167 GB, free: 11.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.5438, allocations: 394.7 kB / 0.517 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.5443, allocations: 361.3 kB / 0.5174 GB, free: 10.74 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006666/0.5449, allocations: 0.5194 MB / 0.5179 GB, free: 10.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/0.5455, allocations: 448.2 kB / 0.5183 GB, free: 9.719 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.5455, allocations: 3.953 kB / 0.5183 GB, free: 9.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001603/0.5471, allocations: 1.085 MB / 0.5194 GB, free: 8.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.5472, allocations: 8 kB / 0.5194 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.5472, allocations: 7.938 kB / 0.5194 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003883/0.5476, allocations: 161.6 kB / 0.5196 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006394/0.5482, allocations: 155.7 kB / 0.5197 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/0.5513, allocations: 2.642 MB / 0.5223 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005831/0.5519, allocations: 43.44 kB / 0.5223 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.5519, allocations: 27.98 kB / 0.5223 GB, free: 5.473 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.0002093/0.5522, allocations: 132.8 kB / 0.5225 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001407/0.5536, allocations: 0.9565 MB / 0.5234 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.5537, allocations: 79.2 kB / 0.5235 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.554, allocations: 104.4 kB / 0.5236 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.554, allocations: 8 kB / 0.5236 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.554, allocations: 7.953 kB / 0.5236 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.554, allocations: 7.922 kB / 0.5236 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003926/0.558, allocations: 2.36 MB / 0.5259 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.558, allocations: 0 / 0.5259 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.5585, allocations: 119.9 kB / 0.526 GB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003545/0.5589, allocations: 159.5 kB / 0.5262 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/0.559, allocations: 15.98 kB / 0.5262 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/0.562, allocations: 2.6 MB / 0.5287 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.562, allocations: 4.031 kB / 0.5287 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.5645, allocations: 1.644 MB / 0.5303 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004859/0.565, allocations: 252.2 kB / 0.5306 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.5651, allocations: 15.98 kB / 0.5306 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.5656, allocations: 35.95 kB / 0.5306 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.5658, allocations: 84.59 kB / 0.5307 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.5658, allocations: 28.11 kB / 0.5307 GB, free: 12.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007371/0.5666, allocations: 0.5069 MB / 0.5312 GB, free: 12.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5666, allocations: 4 kB / 0.5312 GB, free: 12.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001064/0.5676, allocations: 232 kB / 0.5315 GB, free: 11.88 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.002722/0.5704, allocations: 2.423 MB / 0.5338 GB, free: 9.398 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.5721, allocations: 1.029 MB / 0.5348 GB, free: 8.363 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5721, allocations: 0 / 0.5348 GB, free: 8.363 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.5734, allocations: 0.6331 MB / 0.5354 GB, free: 7.723 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.5749, allocations: 176.6 kB / 0.5356 GB, free: 7.559 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007539/0.5825, allocations: 2.703 MB / 0.5383 GB, free: 4.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/0.5842, allocations: 1.525 MB / 0.5397 GB, free: 3.242 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009881/0.5852, allocations: 214.2 kB / 0.54 GB, free: 3.031 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008556/0.5861, allocations: 463.3 kB / 0.5404 GB, free: 2.578 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5861, allocations: 0 / 0.5404 GB, free: 2.578 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06541/0.6515, allocations: 20.12 MB / 0.56 GB, free: 14.67 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002838/0.6519, allocations: 125.8 kB / 0.5602 GB, free: 14.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/3.154, allocations: 4 kB / 0.5602 GB, free: 14.47 MB / 442.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_StarDelta_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_StarDelta.fmu > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1)