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.001573/0.001573, allocations: 174.6 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.05632/0.05632, allocations: 8.698 MB / 21.96 MB, free: 3.367 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.408/1.408, allocations: 221.4 MB / 246 MB, free: 3.543 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.001085/0.001085, allocations: 104.8 kB / 299.1 MB, free: 2.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.357e-05/4.392e-05, allocations: 4 kB / 359.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2966, allocations: 52.55 MB / 412.2 MB, free: 22.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.4192, allocations: 84.89 MB / 497 MB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.4195, allocations: 67.97 kB / 497.1 MB, free: 1.449 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3444/0.7639, allocations: 22.51 MB / 0.5074 GB, free: 85.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7639, allocations: 2.344 kB / 0.5075 GB, free: 85.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001045/0.764, allocations: 42.3 kB / 0.5075 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.003116/0.7672, allocations: 1.504 MB / 0.509 GB, free: 84.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.7672, allocations: 10.44 kB / 0.509 GB, free: 84.4 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003219/0.7676, allocations: 212.8 kB / 0.5092 GB, free: 84.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005741/0.7681, allocations: 174.7 kB / 0.5093 GB, free: 84.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002337/0.7705, allocations: 0.9842 MB / 0.5103 GB, free: 83.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.7706, allocations: 108.8 kB / 0.5104 GB, free: 83.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/0.7709, allocations: 147.6 kB / 0.5105 GB, free: 83.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003131/0.774, allocations: 1.824 MB / 0.5123 GB, free: 83.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.7741, allocations: 0 / 0.5123 GB, free: 83.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.7743, allocations: 59.03 kB / 0.5124 GB, free: 83.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.7743, allocations: 34 kB / 0.5124 GB, free: 83.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.7767, allocations: 1.401 MB / 0.5138 GB, free: 83.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007557/0.7843, allocations: 4.879 MB / 0.5185 GB, free: 81.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.7857, allocations: 1.804 MB / 0.5203 GB, free: 79.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008916/0.7866, allocations: 0.6604 MB / 0.521 GB, free: 79.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-05/0.7866, allocations: 10.98 kB / 0.521 GB, free: 79.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007033/0.7874, allocations: 0.5678 MB / 0.5215 GB, free: 79.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 3.456e-06/0.7874, allocations: 0 / 0.5215 GB, free: 79.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.003715/0.7911, allocations: 2.333 MB / 0.5238 GB, free: 78.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.7912, allocations: 140.7 kB / 0.5239 GB, free: 78.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008703/0.7921, allocations: 0.7184 MB / 0.5246 GB, free: 77.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.7921, allocations: 44.39 kB / 0.5247 GB, free: 77.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/0.7926, allocations: 0.6005 MB / 0.5253 GB, free: 77.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.7927, allocations: 265.1 kB / 0.5255 GB, free: 77.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.7928, allocations: 15.47 kB / 0.5255 GB, free: 77.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7929, allocations: 401 kB / 0.5259 GB, free: 76.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/0.7933, allocations: 375.4 kB / 0.5263 GB, free: 76.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/0.7939, allocations: 0.5349 MB / 0.5268 GB, free: 76.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.7945, allocations: 466.3 kB / 0.5272 GB, free: 75.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7945, allocations: 0 / 0.5272 GB, free: 75.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001434/0.7959, allocations: 1.152 MB / 0.5284 GB, free: 74.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.7959, allocations: 11.95 kB / 0.5284 GB, free: 74.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.796, allocations: 4 kB / 0.5284 GB, free: 74.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.7963, allocations: 168.5 kB / 0.5285 GB, free: 74.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/0.7969, allocations: 153.6 kB / 0.5287 GB, free: 74.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.7995, allocations: 2.723 MB / 0.5313 GB, free: 72.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/0.8001, allocations: 51.16 kB / 0.5314 GB, free: 72.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/0.8002, allocations: 32 kB / 0.5314 GB, free: 71.99 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.0002097/0.8004, allocations: 160.7 kB / 0.5316 GB, free: 71.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.8006, allocations: 86.97 kB / 0.5317 GB, free: 71.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.8009, allocations: 107.8 kB / 0.5318 GB, free: 71.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.8009, allocations: 11.61 kB / 0.5318 GB, free: 71.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.8009, allocations: 0 / 0.5318 GB, free: 71.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.8009, allocations: 3.891 kB / 0.5318 GB, free: 71.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004257/0.8052, allocations: 2.622 MB / 0.5343 GB, free: 69.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.8052, allocations: 0 / 0.5343 GB, free: 69.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.8057, allocations: 118.7 kB / 0.5345 GB, free: 69.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003336/0.8061, allocations: 160.1 kB / 0.5346 GB, free: 69.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/0.8062, allocations: 31.08 kB / 0.5346 GB, free: 69.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002402/0.8086, allocations: 2.667 MB / 0.5372 GB, free: 66.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.8086, allocations: 8 kB / 0.5372 GB, free: 66.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.8106, allocations: 1.702 MB / 0.5389 GB, free: 64.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005725/0.8112, allocations: 248.2 kB / 0.5391 GB, free: 64.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/0.8115, allocations: 31.98 kB / 0.5392 GB, free: 64.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/0.812, allocations: 47.95 kB / 0.5392 GB, free: 64.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.8122, allocations: 80.67 kB / 0.5393 GB, free: 64.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.533e-05/0.8123, allocations: 23.98 kB / 0.5393 GB, free: 64.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00078/0.8131, allocations: 0.5615 MB / 0.5399 GB, free: 63.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8131, allocations: 3.938 kB / 0.5399 GB, free: 63.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001161/0.8142, allocations: 271.9 kB / 0.5401 GB, free: 63.55 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.002339/0.8166, allocations: 2.551 MB / 0.5426 GB, free: 60.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.8182, allocations: 1.065 MB / 0.5437 GB, free: 59.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.8183, allocations: 0 / 0.5437 GB, free: 59.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008655/0.8191, allocations: 0.6634 MB / 0.5443 GB, free: 59.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.8203, allocations: 204.2 kB / 0.5445 GB, free: 59.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.8265, allocations: 2.765 MB / 0.5472 GB, free: 56.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/0.8278, allocations: 1.532 MB / 0.5487 GB, free: 54.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006797/0.8285, allocations: 221.2 kB / 0.5489 GB, free: 54.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/0.8291, allocations: 459.3 kB / 0.5494 GB, free: 53.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.384e-06/0.8291, allocations: 0 / 0.5494 GB, free: 53.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.8727, allocations: 22.01 MB / 0.5708 GB, free: 32.38 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/0.8729, allocations: 159.5 kB / 0.571 GB, free: 32.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.38, allocations: 3.938 kB / 0.571 GB, free: 32.15 MB / 378.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)