Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarPolygon.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009157/0.0009158, allocations: 174.4 kB / 15.43 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo): time 0.03879/0.03879, allocations: 8.921 MB / 25.1 MB, free: 3.582 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 225.7 MB / 253.7 MB, free: 5.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008149/0.0008151, allocations: 100 kB / 307 MB, free: 2.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003557, allocations: 8 kB / 370.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2365, allocations: 52.54 MB / 422.8 MB, free: 47.96 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.004257/0.2409, allocations: 3.52 MB / 426.4 MB, free: 45.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.243, allocations: 1.21 MB / 427.6 MB, free: 44.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002908/0.2433, allocations: 23.56 kB / 427.6 MB, free: 44.51 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.2436, allocations: 140.6 kB / 427.7 MB, free: 44.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000826/0.2445, allocations: 267.7 kB / 428 MB, free: 44.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.2449, allocations: 140.8 kB / 428.1 MB, free: 44.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00268/0.2476, allocations: 2.563 MB / 430.7 MB, free: 43.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002572/0.2501, allocations: 2.149 MB / 432.8 MB, free: 42.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001435/0.2516, allocations: 0.8085 MB / 433.6 MB, free: 41.79 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.2532, allocations: 1.068 MB / 434.7 MB, free: 41.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.2534, allocations: 130.4 kB / 434.8 MB, free: 41.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.2539, allocations: 133.8 kB / 435 MB, free: 41.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005656/0.2544, allocations: 0.6037 MB / 435.6 MB, free: 41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.2559, allocations: 1.183 MB / 436.8 MB, free: 40.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003257/0.2591, allocations: 3.752 MB / 440.5 MB, free: 37.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2592, allocations: 0 / 440.5 MB, free: 37.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2592, allocations: 4 kB / 440.5 MB, free: 37.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001005/0.2593, allocations: 1.094 kB / 440.5 MB, free: 37.8 MB / 330.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.004816/0.2641, allocations: 2.446 MB / 443 MB, free: 35.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2641, allocations: 8.031 kB / 443 MB, free: 35.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005881/0.2647, allocations: 277.8 kB / 443.2 MB, free: 35.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.2667, allocations: 1.455 MB / 444.7 MB, free: 33.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.788e-05/0.2668, allocations: 172.9 kB / 444.9 MB, free: 33.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.267, allocations: 244 kB / 445.1 MB, free: 33.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00418/0.2712, allocations: 3.178 MB / 448.3 MB, free: 30.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/0.2713, allocations: 4 kB / 448.3 MB, free: 30.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.2715, allocations: 92 kB / 448.4 MB, free: 30.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.2715, allocations: 59.98 kB / 448.4 MB, free: 30.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003471/0.275, allocations: 2.664 MB / 451.1 MB, free: 27.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009698/0.2847, allocations: 7.983 MB / 459.1 MB, free: 19.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.2866, allocations: 3.102 MB / 462.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.2879, allocations: 1.096 MB / 463.3 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.098e-05/0.2879, allocations: 17 kB / 463.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.2891, allocations: 0.988 MB / 464.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 3.186e-06/0.2891, allocations: 0 / 464.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=127): time 0.00658/0.2957, allocations: 4.542 MB / 468.8 MB, free: 9.109 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.2958, allocations: 205.2 kB / 469 MB, free: 8.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.297, allocations: 1.215 MB / 470.2 MB, free: 7.633 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/0.2971, allocations: 53.7 kB / 470.3 MB, free: 7.574 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005495/0.2977, allocations: 0.9551 MB / 471.2 MB, free: 6.605 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.2979, allocations: 429.9 kB / 471.7 MB, free: 6.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.2979, allocations: 28 kB / 471.7 MB, free: 6.152 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.49e-05/0.298, allocations: 357.9 kB / 472 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008052/0.2988, allocations: 0.6778 MB / 472.7 MB, free: 5.117 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009517/0.2998, allocations: 0.9955 MB / 473.7 MB, free: 4.012 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.3015, allocations: 1.678 MB / 475.4 MB, free: 2.238 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3015, allocations: 4 kB / 475.4 MB, free: 2.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002435/0.304, allocations: 2.058 MB / 477.5 MB, free: 164 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.304, allocations: 8 kB / 477.5 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.304, allocations: 11.94 kB / 477.5 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005405/0.3046, allocations: 284.8 kB / 477.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009721/0.3055, allocations: 263.6 kB / 478 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00414/0.3097, allocations: 3.773 MB / 481.8 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008696/0.3106, allocations: 95.86 kB / 481.9 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.48e-05/0.3107, allocations: 48.06 kB / 481.9 MB, free: 11.55 MB / 346.7 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,$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,switch.control[1],switch.control[2],switch.control[3],switch.control[4],switch.control[5]) * 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.001549/0.3122, allocations: 0.8497 MB / 482.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.3125, allocations: 134.4 kB / 482.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.3127, allocations: 169.3 kB / 483.1 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.3127, allocations: 12 kB / 483.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/0.3128, allocations: 4 kB / 483.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3128, allocations: 11.97 kB / 483.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006419/0.3192, allocations: 4.317 MB / 487.4 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.3192, allocations: 4 kB / 487.4 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007893/0.32, allocations: 191.7 kB / 487.6 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005238/0.3206, allocations: 272.9 kB / 487.9 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-05/0.3207, allocations: 39.97 kB / 487.9 MB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004119/0.3248, allocations: 3.717 MB / 491.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3248, allocations: 0 / 491.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004118/0.3289, allocations: 2.882 MB / 494.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007581/0.3297, allocations: 363.4 kB / 494.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.3299, allocations: 51.97 kB / 494.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006293/0.3306, allocations: 79.94 kB / 495 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003006/0.3309, allocations: 128.8 kB / 495.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.135e-05/0.331, allocations: 35.98 kB / 495.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001154/0.3321, allocations: 0.8578 MB / 496 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3321, allocations: 0 / 496 MB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001488/0.3336, allocations: 440 kB / 496.4 MB, free: 12.75 MB / 362.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,switch.control[1],switch.control[2],switch.control[3],switch.control[4],switch.control[5],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 (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 Backend phase and start with SimCode phase: time 0.0002514/0.3339, allocations: 163.1 kB / 496.6 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003063/0.337, allocations: 1.852 MB / 498.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.337, allocations: 256 / 498.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.3387, allocations: 1.1 MB / 499.6 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.3403, allocations: 288.6 kB / 499.8 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008899/0.3492, allocations: 5.7 MB / 0.4937 GB, free: 3.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00174/0.351, allocations: 2.019 MB / 0.4957 GB, free: 1.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001124/0.3521, allocations: 366.3 kB / 0.496 GB, free: 1.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.3524, allocations: 87.42 kB / 0.4961 GB, free: 1.066 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3524, allocations: 0 / 0.4961 GB, free: 1.066 MB / 362.7 MB Notification: Performance of Templates: time 0.03283/0.3853, allocations: 19.52 MB / 0.5152 GB, free: 13.63 MB / 394.7 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)