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.005146/0.005146, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03821/0.03821, allocations: 8.798 MB / 24.65 MB, free: 4.109 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.245/1.245, allocations: 223.2 MB / 250.7 MB, free: 6.582 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.0008342/0.0008342, allocations: 92.36 kB / 304 MB, free: 4.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 8 kB / 367.2 MB, free: 4.859 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2596, allocations: 52.54 MB / 419.7 MB, free: 48.11 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09946/0.3592, allocations: 85.06 MB / 0.4929 GB, free: 4.016 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.3594, allocations: 72.72 kB / 0.493 GB, free: 3.941 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08092/0.4404, allocations: 33.97 MB / 0.5262 GB, free: 1.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4404, allocations: 0 / 0.5262 GB, free: 1.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001778/0.4406, allocations: 59.94 kB / 0.5262 GB, free: 1.691 MB / 394.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.005619/0.4462, allocations: 2.485 MB / 0.5287 GB, free: 15.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4463, allocations: 8.562 kB / 0.5287 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007681/0.4471, allocations: 336.8 kB / 0.529 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007086/0.4478, allocations: 284.8 kB / 0.5293 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.4503, allocations: 1.463 MB / 0.5307 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.4504, allocations: 176.6 kB / 0.5309 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003607/0.4508, allocations: 235.9 kB / 0.5311 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005168/0.456, allocations: 3.043 MB / 0.534 GB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/0.456, allocations: 4 kB / 0.5341 GB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.4563, allocations: 92 kB / 0.5341 GB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.105e-05/0.4563, allocations: 56 kB / 0.5342 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004151/0.4605, allocations: 2.469 MB / 0.5366 GB, free: 6.793 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.4737, allocations: 7.944 MB / 0.5444 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.4763, allocations: 3.095 MB / 0.5474 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.183e-05/0.4764, allocations: 13 kB / 0.5474 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/0.4778, allocations: 0.9877 MB / 0.5484 GB, free: 10.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 3.317e-06/0.4778, allocations: 0 / 0.5484 GB, free: 10.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=127): time 0.007471/0.4853, allocations: 4.516 MB / 0.5528 GB, free: 5.652 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.4854, allocations: 197.2 kB / 0.553 GB, free: 5.418 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.4871, allocations: 1.108 MB / 0.554 GB, free: 4.293 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.4873, allocations: 53.7 kB / 0.5541 GB, free: 4.234 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009671/0.4882, allocations: 0.9437 MB / 0.555 GB, free: 3.277 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/0.4886, allocations: 421.9 kB / 0.5554 GB, free: 2.859 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.4886, allocations: 28 kB / 0.5554 GB, free: 2.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4888, allocations: 357.9 kB / 0.5558 GB, free: 2.477 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009849/0.4898, allocations: 0.67 MB / 0.5564 GB, free: 1.805 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.491, allocations: 0.9501 MB / 0.5574 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1887/0.6796, allocations: 0.7862 MB / 0.5581 GB, free: 108.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.6797, allocations: 1.531 kB / 0.5581 GB, free: 108.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004947/0.6846, allocations: 2.006 MB / 0.5601 GB, free: 108.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.173e-05/0.6847, allocations: 8.516 kB / 0.5601 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.6848, allocations: 5.906 kB / 0.5601 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007675/0.6855, allocations: 281.7 kB / 0.5604 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.6867, allocations: 262.4 kB / 0.5606 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004629/0.6913, allocations: 3.816 MB / 0.5644 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.6923, allocations: 90.47 kB / 0.5644 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.6925, allocations: 46.69 kB / 0.5645 GB, free: 107.2 MB / 426.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 () * Number of clocked 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.001613/0.6941, allocations: 0.8424 MB / 0.5653 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003395/0.6945, allocations: 134.9 kB / 0.5654 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/0.6949, allocations: 170.8 kB / 0.5656 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.6949, allocations: 13.31 kB / 0.5656 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/0.6949, allocations: 8.062 kB / 0.5656 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.6949, allocations: 10 kB / 0.5656 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008529/0.7035, allocations: 4.304 MB / 0.5698 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.7035, allocations: 5.625 kB / 0.5698 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008826/0.7044, allocations: 193.1 kB / 0.57 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006045/0.705, allocations: 261 kB / 0.5703 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.7052, allocations: 42.75 kB / 0.5703 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004514/0.7097, allocations: 3.776 MB / 0.574 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7097, allocations: 1.094 kB / 0.574 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004254/0.714, allocations: 2.933 MB / 0.5769 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009286/0.7149, allocations: 371.6 kB / 0.5772 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/0.7153, allocations: 44.73 kB / 0.5773 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000739/0.716, allocations: 81.66 kB / 0.5773 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002761/0.7163, allocations: 128.2 kB / 0.5775 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-05/0.7164, allocations: 44.39 kB / 0.5775 GB, free: 103.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001283/0.7177, allocations: 0.8609 MB / 0.5783 GB, free: 103.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7177, allocations: 2.734 kB / 0.5783 GB, free: 103.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001519/0.7192, allocations: 439.7 kB / 0.5788 GB, free: 103.4 MB / 426.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) * Number of clocked states: 0 () * 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.003779/0.723, allocations: 3.89 MB / 0.5826 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002683/0.7257, allocations: 1.837 MB / 0.5844 GB, free: 100.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.7257, allocations: 3.656 kB / 0.5844 GB, free: 100.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.7272, allocations: 1.094 MB / 0.5854 GB, free: 100.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.7284, allocations: 287 kB / 0.5857 GB, free: 100.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009699/0.7381, allocations: 10.57 MB / 0.596 GB, free: 92.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.7397, allocations: 2.065 MB / 0.598 GB, free: 91.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008855/0.7406, allocations: 355.9 kB / 0.5984 GB, free: 91.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007898/0.7414, allocations: 0.7573 MB / 0.5991 GB, free: 91.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7414, allocations: 4 kB / 0.5991 GB, free: 91.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05249/0.7939, allocations: 33.85 MB / 0.6322 GB, free: 69.29 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/0.7941, allocations: 189.1 kB / 0.6324 GB, free: 69.05 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.379, allocations: 0 / 0.6324 GB, free: 69.05 MB / 426.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)