Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.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/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) 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 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(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009162/0.0009163, allocations: 180.9 kB / 15.43 MB, free: 6.211 MB / 13.93 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.345/1.345, allocations: 225.7 MB / 241.9 MB, free: 384 kB / 186.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.0008193/0.0008193, allocations: 88.77 kB / 293.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06218/0.06218, allocations: 14.36 MB / 358.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002904, allocations: 12.8 kB / 423.2 MB, free: 85.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07156/0.07187, allocations: 53.95 MB / 477.2 MB, free: 32.82 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing): time 0.00601/0.07792, allocations: 8.927 MB / 486.1 MB, free: 23.85 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005898/0.08386, allocations: 5.396 MB / 491.5 MB, free: 18.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.08538, allocations: 91.44 kB / 491.6 MB, free: 18.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.08667, allocations: 442 kB / 492 MB, free: 17.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.09062, allocations: 2.662 MB / 494.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.09215, allocations: 1.366 MB / 496.1 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002789/0.09495, allocations: 2.803 MB / 498.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.09532, allocations: 159.8 kB / 499 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.09689, allocations: 1.116 MB / 0.4884 GB, free: 9.113 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.09797, allocations: 0.8405 MB / 0.4892 GB, free: 8.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.09818, allocations: 48 kB / 0.4893 GB, free: 8.223 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008941/0.09908, allocations: 335.7 kB / 0.4896 GB, free: 7.895 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.09921, allocations: 198.9 kB / 0.4898 GB, free: 7.699 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000554/0.09977, allocations: 0.7166 MB / 0.4905 GB, free: 6.973 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.1011, allocations: 1.689 MB / 0.4921 GB, free: 5.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1011, allocations: 3.938 kB / 0.4921 GB, free: 5.273 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1011, allocations: 0 / 0.4921 GB, free: 5.273 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.1012, allocations: 0 / 0.4921 GB, free: 5.273 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.004572/0.1057, allocations: 1.95 MB / 0.494 GB, free: 3.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1058, allocations: 8.031 kB / 0.4941 GB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.1069, allocations: 251 kB / 0.4943 GB, free: 3.016 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.568e-06/0.1069, allocations: 192 / 0.4943 GB, free: 3.016 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.107, allocations: 82.38 kB / 0.4944 GB, free: 2.934 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.1071, allocations: 116.3 kB / 0.4945 GB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.1085, allocations: 0.9765 MB / 0.4954 GB, free: 1.824 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.1085, allocations: 192 / 0.4954 GB, free: 1.824 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.079e-05/0.1086, allocations: 39.94 kB / 0.4955 GB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.1086, allocations: 24 kB / 0.4955 GB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.11, allocations: 0.9838 MB / 0.4965 GB, free: 0.7773 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009168/0.1192, allocations: 6.691 MB / 0.503 GB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.1209, allocations: 1.444 MB / 0.5044 GB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005229/0.1214, allocations: 365 kB / 0.5048 GB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.229e-05/0.1215, allocations: 16.98 kB / 0.5048 GB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1216, allocations: 43.56 kB / 0.5048 GB, free: 7.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=106): time 3.065e-06/0.1216, allocations: 4 kB / 0.5048 GB, free: 7.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=107): time 0.006223/0.1278, allocations: 2.769 MB / 0.5075 GB, free: 4.473 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.1279, allocations: 63.25 kB / 0.5076 GB, free: 4.398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/0.1287, allocations: 0.7702 MB / 0.5083 GB, free: 3.605 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/0.1288, allocations: 49.7 kB / 0.5084 GB, free: 3.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.1292, allocations: 0.5195 MB / 0.5089 GB, free: 3.023 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.1295, allocations: 390.4 kB / 0.5093 GB, free: 2.637 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/0.1295, allocations: 32 kB / 0.5093 GB, free: 2.605 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.1297, allocations: 418.7 kB / 0.5097 GB, free: 2.188 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007646/0.1305, allocations: 435.8 kB / 0.5101 GB, free: 1.762 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009579/0.1315, allocations: 0.7627 MB / 0.5108 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.1331, allocations: 1.159 MB / 0.512 GB, free: 15.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1331, allocations: 8 kB / 0.512 GB, free: 15.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.0119/0.145, allocations: 2.535 MB / 0.5145 GB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.1453, allocations: 374.2 kB / 0.5148 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.1453, allocations: 12 kB / 0.5148 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007636/0.153, allocations: 0.9835 MB / 0.5158 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.1543, allocations: 335.5 kB / 0.5161 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01714/0.1715, allocations: 10.41 MB / 0.5263 GB, free: 44 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009871/0.1725, allocations: 43.91 kB / 0.5263 GB, free: 0 / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/0.3428, allocations: 57.7 kB / 0.5264 GB, free: 58.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3429, allocations: 3.719 kB / 0.5264 GB, free: 58.25 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004528/0.3474, allocations: 1.781 MB / 0.5281 GB, free: 57.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.3475, allocations: 10.19 kB / 0.5281 GB, free: 57.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002333/0.3498, allocations: 494.4 kB / 0.5286 GB, free: 57.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.3512, allocations: 358.4 kB / 0.5289 GB, free: 57.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008867/0.3601, allocations: 10.94 MB / 0.5396 GB, free: 48.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009601/0.3611, allocations: 42.69 kB / 0.5397 GB, free: 48.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.3613, allocations: 62.69 kB / 0.5397 GB, free: 48.83 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,15), (4,6), (4,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0006105/0.3619, allocations: 369.7 kB / 0.5401 GB, free: 48.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.3621, allocations: 120 kB / 0.5402 GB, free: 48.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.3641, allocations: 1.06 MB / 0.5412 GB, free: 48.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.3641, allocations: 7.047 kB / 0.5412 GB, free: 48.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3642, allocations: 3.938 kB / 0.5412 GB, free: 48.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/0.3645, allocations: 247.8 kB / 0.5415 GB, free: 47.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.3647, allocations: 27.14 kB / 0.5415 GB, free: 47.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.3651, allocations: 20.55 kB / 0.5415 GB, free: 47.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.3653, allocations: 80.94 kB / 0.5416 GB, free: 47.96 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002457/0.3678, allocations: 1.092 MB / 0.5427 GB, free: 47.56 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001646/0.3695, allocations: 1.278 MB / 0.5439 GB, free: 46.93 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004103/0.3699, allocations: 298.9 kB / 0.5442 GB, free: 46.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006597/0.3706, allocations: 492.8 kB / 0.5447 GB, free: 46.59 MB / 362.7 MB Notification: Performance of Backend: time 7.01e-07/0.3706, allocations: 5.438 kB / 0.5447 GB, free: 46.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0066/0.3772, allocations: 3.493 MB / 0.5481 GB, free: 44.43 MB / 362.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.003838/0.381, allocations: 3.348 MB / 0.5513 GB, free: 42.21 MB / 362.7 MB Notification: Performance of Templates: time 0.03958/0.4206, allocations: 24.59 MB / 0.5754 GB, free: 26.96 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe 2>&1)