Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarPolygon.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.StarPolygon,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarPolygon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.StarPolygon,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarPolygon",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.001126/0.001126, 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.03964/0.03964, 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.334/1.334, 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.001113/0.001113, allocations: 94.31 kB / 299.1 MB, free: 2.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.915e-05/3.928e-05, allocations: 4 kB / 359.6 MB, free: 6.406 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2696, allocations: 52.53 MB / 412.1 MB, free: 22.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.3893, allocations: 85 MB / 497.1 MB, free: 1.406 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.3896, allocations: 71.95 kB / 497.2 MB, free: 1.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3672/0.7568, allocations: 34.08 MB / 0.5188 GB, free: 83.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.7569, allocations: 0 / 0.5188 GB, free: 83.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000244/0.7572, allocations: 56.47 kB / 0.5189 GB, free: 83.98 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.007802/0.765, allocations: 2.285 MB / 0.5211 GB, free: 82.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.7651, allocations: 10.09 kB / 0.5211 GB, free: 82.8 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001157/0.7662, allocations: 337.5 kB / 0.5215 GB, free: 82.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.7676, allocations: 286.4 kB / 0.5217 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003716/0.7713, allocations: 1.443 MB / 0.5231 GB, free: 81.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.7716, allocations: 183.5 kB / 0.5233 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008367/0.7724, allocations: 231.4 kB / 0.5235 GB, free: 81.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006766/0.7792, allocations: 2.957 MB / 0.5264 GB, free: 79.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.54e-05/0.7793, allocations: 3.938 kB / 0.5264 GB, free: 79.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004081/0.7797, allocations: 107.9 kB / 0.5265 GB, free: 79.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/0.7798, allocations: 56 kB / 0.5266 GB, free: 79.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003915/0.7837, allocations: 2.321 MB / 0.5289 GB, free: 76.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/0.7974, allocations: 7.955 MB / 0.5366 GB, free: 68.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.7994, allocations: 3.037 MB / 0.5396 GB, free: 65.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.8007, allocations: 1.038 MB / 0.5406 GB, free: 64.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-05/0.8008, allocations: 13 kB / 0.5406 GB, free: 64.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.8019, allocations: 0.9315 MB / 0.5415 GB, free: 63.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 2.885e-06/0.8019, allocations: 4 kB / 0.5415 GB, free: 63.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.005467/0.8074, allocations: 3.706 MB / 0.5451 GB, free: 59.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.8075, allocations: 201.2 kB / 0.5453 GB, free: 59.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.8089, allocations: 1.089 MB / 0.5464 GB, free: 58.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.826e-05/0.809, allocations: 57.69 kB / 0.5465 GB, free: 58.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008469/0.8098, allocations: 0.9518 MB / 0.5474 GB, free: 57.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.8101, allocations: 424.1 kB / 0.5478 GB, free: 56.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.8102, allocations: 28 kB / 0.5478 GB, free: 56.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.8103, allocations: 353.9 kB / 0.5482 GB, free: 56.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006993/0.811, allocations: 0.6155 MB / 0.5488 GB, free: 55.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008789/0.8119, allocations: 0.8956 MB / 0.5496 GB, free: 54.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008543/0.8128, allocations: 0.7386 MB / 0.5503 GB, free: 54.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.8128, allocations: 4 kB / 0.5504 GB, free: 54.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002373/0.8152, allocations: 1.909 MB / 0.5522 GB, free: 52.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.8152, allocations: 8 kB / 0.5522 GB, free: 52.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.8152, allocations: 8 kB / 0.5522 GB, free: 52.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005698/0.8158, allocations: 281.9 kB / 0.5525 GB, free: 51.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009457/0.8168, allocations: 259.6 kB / 0.5527 GB, free: 51.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/0.8206, allocations: 3.755 MB / 0.5564 GB, free: 47.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.8218, allocations: 96 kB / 0.5565 GB, free: 47.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.8219, allocations: 40 kB / 0.5565 GB, free: 47.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare[5].mean.y_last,rootMeanSquare[5].mean.y_last,$PRE.rootMeanSquare[4].mean.y_last,rootMeanSquare[4].mean.y_last,$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,booleanStep[4].y,booleanStep[5].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 133 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003416/0.8223, allocations: 195.1 kB / 0.5567 GB, free: 47.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.8226, allocations: 138.4 kB / 0.5569 GB, free: 47.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005111/0.8231, allocations: 177.3 kB / 0.557 GB, free: 47.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.8232, allocations: 12 kB / 0.557 GB, free: 47.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-05/0.8232, allocations: 4 kB / 0.557 GB, free: 47.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.8232, allocations: 3.984 kB / 0.5571 GB, free: 47.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007687/0.8309, allocations: 4.218 MB / 0.5612 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.8309, allocations: 7.875 kB / 0.5612 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007726/0.8317, allocations: 195.8 kB / 0.5614 GB, free: 42.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005436/0.8323, allocations: 272.7 kB / 0.5616 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.8324, allocations: 43.92 kB / 0.5617 GB, free: 42.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003551/0.836, allocations: 3.714 MB / 0.5653 GB, free: 38.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.836, allocations: 4.031 kB / 0.5653 GB, free: 38.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003309/0.8393, allocations: 2.777 MB / 0.568 GB, free: 35.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000839/0.8402, allocations: 363.4 kB / 0.5684 GB, free: 35.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003485/0.8405, allocations: 51.97 kB / 0.5684 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008361/0.8414, allocations: 79.89 kB / 0.5685 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/0.8417, allocations: 132.8 kB / 0.5686 GB, free: 34.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-05/0.8418, allocations: 39.98 kB / 0.5686 GB, free: 34.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001211/0.843, allocations: 0.8508 MB / 0.5695 GB, free: 34.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.843, allocations: 0 / 0.5695 GB, free: 34.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001574/0.8446, allocations: 440 kB / 0.5699 GB, free: 33.58 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (inductorLoad.inductor[1].i,inductorLoad.inductor[2].i,inductorLoad.inductor[3].i,inductorLoad.inductor[4].i,inductorLoad.inductor[5].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[5].mean.x) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStep[4].y,booleanStep[5].y,rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last,rootMeanSquare[4].mean.y_last,rootMeanSquare[5].mean.y_last) * Number of discrete states: 5 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[5].mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003425/0.848, allocations: 3.735 MB / 0.5735 GB, free: 29.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002702/0.8508, allocations: 1.723 MB / 0.5752 GB, free: 28.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.8508, allocations: 0 / 0.5752 GB, free: 28.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.8522, allocations: 1.037 MB / 0.5762 GB, free: 27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.854, allocations: 280.5 kB / 0.5765 GB, free: 26.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009448/0.8634, allocations: 4.544 MB / 0.5809 GB, free: 22.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/0.8651, allocations: 2.062 MB / 0.583 GB, free: 20 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001058/0.8662, allocations: 358 kB / 0.5833 GB, free: 19.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009996/0.8672, allocations: 0.757 MB / 0.584 GB, free: 18.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.8672, allocations: 0 / 0.584 GB, free: 18.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0671/0.9343, allocations: 34.64 MB / 0.6179 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.9346, allocations: 165.7 kB / 0.618 GB, free: 324 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.987/3.922, allocations: 0 / 0.618 GB, free: 324 kB / 394.7 MB (rm -f HanserModelica_HanserModelica.Electrical.StarPolygon.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarPolygon.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarPolygon.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarPolygon.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_StarPolygon_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_StarPolygon.fmu > HanserModelica_HanserModelica.Electrical.StarPolygon.pipe 2>&1)