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/ModelicaServices 4.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.StarPolygon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarPolygon") translateModel(HanserModelica.Electrical.StarPolygon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarPolygon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 118.2 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 240.1 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 180.5 kB / 290.4 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03594/0.03594, allocations: 8.804 MB / 349.3 MB, free: 4.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 83.86 kB / 464.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08053/0.08207, allocations: 51.55 MB / 0.5041 GB, free: 9.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.005093/0.08719, allocations: 4.079 MB / 0.508 GB, free: 5.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.08927, allocations: 1.102 MB / 0.5091 GB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003515/0.08964, allocations: 27.88 kB / 0.5091 GB, free: 4.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.09002, allocations: 166.7 kB / 0.5093 GB, free: 4.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008141/0.09086, allocations: 282.4 kB / 0.5096 GB, free: 3.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.09126, allocations: 163.8 kB / 0.5097 GB, free: 3.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002235/0.0935, allocations: 2.432 MB / 0.5121 GB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002613/0.09613, allocations: 2.522 MB / 0.5146 GB, free: 14.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.09734, allocations: 1.164 MB / 0.5157 GB, free: 13.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.09911, allocations: 1.358 MB / 0.517 GB, free: 12.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005397/0.09966, allocations: 315.9 kB / 0.5173 GB, free: 11.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005709/0.1002, allocations: 328 kB / 0.5176 GB, free: 11.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006354/0.1009, allocations: 0.8376 MB / 0.5185 GB, free: 10.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.1022, allocations: 1.416 MB / 0.5198 GB, free: 9.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00299/0.1052, allocations: 4.031 MB / 0.5238 GB, free: 5.234 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1052, allocations: 0 / 0.5238 GB, free: 5.234 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1052, allocations: 0 / 0.5238 GB, free: 5.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.095e-05/0.1052, allocations: 4 kB / 0.5238 GB, free: 5.23 MB / 366.1 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.004554/0.1098, allocations: 2.875 MB / 0.5266 GB, free: 2.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1098, allocations: 11.97 kB / 0.5266 GB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004696/0.1103, allocations: 273.8 kB / 0.5269 GB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.1123, allocations: 1.498 MB / 0.5283 GB, free: 464 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.1124, allocations: 180.9 kB / 0.5285 GB, free: 280 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003173/0.1128, allocations: 236 kB / 0.5287 GB, free: 44 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1618/0.2746, allocations: 3.181 MB / 0.5318 GB, free: 23.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/0.2747, allocations: 4.594 kB / 0.5318 GB, free: 23.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.2749, allocations: 95.7 kB / 0.5319 GB, free: 23.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.2749, allocations: 55.28 kB / 0.532 GB, free: 23.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003778/0.2787, allocations: 2.647 MB / 0.5346 GB, free: 23.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/0.2892, allocations: 7.79 MB / 0.5422 GB, free: 21.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/0.2914, allocations: 3.084 MB / 0.5452 GB, free: 19.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.293, allocations: 1.054 MB / 0.5462 GB, free: 18.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.832e-05/0.2931, allocations: 20.28 kB / 0.5462 GB, free: 18.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001286/0.2944, allocations: 0.9829 MB / 0.5472 GB, free: 18.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.165e-06/0.2944, allocations: 3.656 kB / 0.5472 GB, free: 18.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=127): time 0.006289/0.3007, allocations: 4.469 MB / 0.5516 GB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.3008, allocations: 201.5 kB / 0.5517 GB, free: 15.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.302, allocations: 1.228 MB / 0.5529 GB, free: 14.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.446e-05/0.3021, allocations: 57.56 kB / 0.553 GB, free: 14.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.3026, allocations: 0.9589 MB / 0.5539 GB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.3028, allocations: 428.1 kB / 0.5543 GB, free: 13.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.3031, allocations: 245 kB / 0.5546 GB, free: 13.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.3032, allocations: 361 kB / 0.5549 GB, free: 13.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008999/0.3041, allocations: 0.6663 MB / 0.5556 GB, free: 12.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.3051, allocations: 0.9805 MB / 0.5565 GB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.307, allocations: 1.654 MB / 0.5581 GB, free: 11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3071, allocations: 0 / 0.5581 GB, free: 11 MB / 366.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002571/0.3096, allocations: 2.045 MB / 0.5601 GB, free: 9.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3097, allocations: 10.5 kB / 0.5602 GB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3097, allocations: 10.38 kB / 0.5602 GB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004957/0.3102, allocations: 284.9 kB / 0.5604 GB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009565/0.3111, allocations: 265 kB / 0.5607 GB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003502/0.3147, allocations: 4.067 MB / 0.5647 GB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006987/0.3154, allocations: 84 kB / 0.5647 GB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.698e-05/0.3154, allocations: 51.98 kB / 0.5648 GB, free: 5.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[5].mean.y_last,$PRE.rootMeanSquare[5].mean.y_last,rootMeanSquare[4].mean.y_last,$PRE.rootMeanSquare[4].mean.y_last,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,switch.control[5],switch.control[4],switch.control[3],switch.control[2],switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007646/0.3162, allocations: 0.8384 MB / 0.5656 GB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.3164, allocations: 138.4 kB / 0.5657 GB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.3167, allocations: 173.3 kB / 0.5659 GB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.3167, allocations: 7.969 kB / 0.5659 GB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.3167, allocations: 3.938 kB / 0.5659 GB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/0.3171, allocations: 367.4 kB / 0.5663 GB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.3173, allocations: 39.98 kB / 0.5663 GB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/0.3179, allocations: 71.92 kB / 0.5664 GB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.3181, allocations: 137.1 kB / 0.5665 GB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003095/0.3212, allocations: 2.086 MB / 0.5685 GB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003232/0.3244, allocations: 2.865 MB / 0.5713 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001065/0.3255, allocations: 0.8064 MB / 0.5721 GB, free: 14.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001011/0.3265, allocations: 0.8657 MB / 0.573 GB, free: 13.43 MB / 382.1 MB Notification: Performance of Backend: time 4.91e-07/0.3266, allocations: 0 / 0.573 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002349/0.3289, allocations: 1.318 MB / 0.5743 GB, free: 12.09 MB / 382.1 MB Notification: Performance of SimCode: time 0.00589/0.3348, allocations: 4.697 MB / 0.5788 GB, free: 7.379 MB / 382.1 MB Notification: Performance of Templates: time 0.03464/0.3695, allocations: 22.74 MB / 0.6011 GB, free: 0.8672 MB / 398.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.StarPolygon.makefile (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 & ./HanserModelica_HanserModelica.Electrical.StarPolygon -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarPolygon.pipe 2>&1)