Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.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.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 176.4 kB / 15.43 MB, free: 6.207 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.35/1.35, allocations: 225.7 MB / 241.9 MB, free: 404 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.0008415/0.0008411, allocations: 107 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.05813/0.05813, allocations: 14.38 MB / 358.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003451, allocations: 8 kB / 423.2 MB, free: 85.93 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.08064, allocations: 53.95 MB / 477.2 MB, free: 32.84 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.003801/0.08448, allocations: 4.925 MB / 482.1 MB, free: 27.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003953/0.08848, allocations: 3.816 MB / 485.9 MB, free: 23.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005735/0.08908, allocations: 7.938 kB / 485.9 MB, free: 23.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007095/0.08981, allocations: 238.9 kB / 486.2 MB, free: 23.56 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.09239, allocations: 2.022 MB / 488.2 MB, free: 21.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009266/0.09332, allocations: 0.6431 MB / 488.8 MB, free: 20.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.09469, allocations: 1.394 MB / 490.2 MB, free: 19.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.09487, allocations: 77.75 kB / 490.3 MB, free: 19.13 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005112/0.09539, allocations: 410.2 kB / 490.7 MB, free: 18.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006142/0.09601, allocations: 477.9 kB / 491.2 MB, free: 18.26 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.09613, allocations: 36 kB / 491.2 MB, free: 18.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005758/0.09671, allocations: 255.8 kB / 491.4 MB, free: 17.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.694e-05/0.0968, allocations: 131.4 kB / 491.6 MB, free: 17.85 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.0971, allocations: 419.6 kB / 492 MB, free: 17.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007466/0.09785, allocations: 1.036 MB / 493 MB, free: 16.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.09787, allocations: 0 / 493 MB, free: 16.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09787, allocations: 0 / 493 MB, free: 16.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.09789, allocations: 4 kB / 493 MB, free: 16.39 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002767/0.1007, allocations: 1.212 MB / 494.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1007, allocations: 16.03 kB / 494.2 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/0.101, allocations: 104 kB / 494.3 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006742/0.1017, allocations: 0.5362 MB / 494.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.1018, allocations: 41.38 kB / 494.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.025e-05/0.1019, allocations: 68.06 kB / 495 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.1025, allocations: 490 kB / 495.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1026, allocations: 0 / 495.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.1026, allocations: 20 kB / 495.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1026, allocations: 8 kB / 495.5 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000723/0.1033, allocations: 499.7 kB / 496 MB, free: 13.32 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.003632/0.107, allocations: 2.86 MB / 498.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.1081, allocations: 0.7728 MB / 499.6 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.1084, allocations: 246.4 kB / 499.9 MB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/0.1085, allocations: 12.55 kB / 499.9 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.1085, allocations: 39.12 kB / 499.9 MB, free: 9.031 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 2.184e-06/0.1085, allocations: 0 / 499.9 MB, free: 9.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.004507/0.113, allocations: 2.054 MB / 0.4902 GB, free: 6.902 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.1131, allocations: 59.97 kB / 0.4903 GB, free: 6.832 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.1135, allocations: 0.4986 MB / 0.4907 GB, free: 6.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.1136, allocations: 41.7 kB / 0.4908 GB, free: 6.273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.1137, allocations: 261.2 kB / 0.491 GB, free: 6.012 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.1138, allocations: 224.6 kB / 0.4912 GB, free: 5.789 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.1139, allocations: 20 kB / 0.4913 GB, free: 5.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.561e-05/0.114, allocations: 382.8 kB / 0.4916 GB, free: 5.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.1144, allocations: 313.9 kB / 0.4919 GB, free: 5.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.1149, allocations: 397.4 kB / 0.4923 GB, free: 4.684 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000856/0.1158, allocations: 0.6357 MB / 0.4929 GB, free: 4.039 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1158, allocations: 0 / 0.4929 GB, free: 4.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002685/0.1185, allocations: 1.279 MB / 0.4942 GB, free: 2.734 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1185, allocations: 8.062 kB / 0.4942 GB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1185, allocations: 4 kB / 0.4942 GB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002402/0.1209, allocations: 0.6144 MB / 0.4948 GB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008732/0.1218, allocations: 223.7 kB / 0.495 GB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009802/0.1316, allocations: 10.59 MB / 0.5053 GB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006818/0.1324, allocations: 39.83 kB / 0.5054 GB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.1324, allocations: 32 kB / 0.5054 GB, free: 6.254 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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,12), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002798/0.1327, allocations: 208 kB / 0.5056 GB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1328, allocations: 63.25 kB / 0.5057 GB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.1345, allocations: 0.7831 MB / 0.5064 GB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1345, allocations: 11.94 kB / 0.5065 GB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1346, allocations: 4 kB / 0.5065 GB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.1346, allocations: 4 kB / 0.5065 GB, free: 5.168 MB / 346.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 postOpt removeSimpleEquations (simulation): time 0.002546/0.1371, allocations: 1.556 MB / 0.508 GB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.1371, allocations: 4 kB / 0.508 GB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006535/0.1378, allocations: 139.9 kB / 0.5081 GB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009022/0.1387, allocations: 276.5 kB / 0.5084 GB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.1388, allocations: 16 kB / 0.5084 GB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003405/0.1422, allocations: 2.393 MB / 0.5107 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1422, allocations: 0 / 0.5107 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.1443, allocations: 1.124 MB / 0.5118 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.1446, allocations: 188.2 kB / 0.512 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/0.1447, allocations: 12 kB / 0.512 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.1451, allocations: 19.98 kB / 0.512 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.1452, allocations: 44.5 kB / 0.5121 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.1453, allocations: 16 kB / 0.5121 GB, free: 15.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004017/0.1457, allocations: 334.8 kB / 0.5124 GB, free: 14.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1457, allocations: 3.938 kB / 0.5124 GB, free: 14.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008421/0.1465, allocations: 260 kB / 0.5127 GB, free: 14.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (machine.theta,machine.omegaPu,machine.lambdaDPu,machine.lambdafPu,machine.lambdaQ1Pu,machine.lambdaQ2Pu) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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 {(6,12,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000255/0.1468, allocations: 151.2 kB / 0.5128 GB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.1496, allocations: 1.682 MB / 0.5145 GB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1496, allocations: 0 / 0.5145 GB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009992/0.1506, allocations: 0.5288 MB / 0.515 GB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/0.1513, allocations: 90.2 kB / 0.5151 GB, free: 11.98 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: created linear, non-linear and system jacobian parts: time 0.002498/0.1538, allocations: 1.673 MB / 0.5167 GB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/0.1543, allocations: 0.8993 MB / 0.5176 GB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000328/0.1547, allocations: 76.88 kB / 0.5176 GB, free: 9.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.1548, allocations: 43.42 kB / 0.5177 GB, free: 9.238 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1549, allocations: 0 / 0.5177 GB, free: 9.238 MB / 362.7 MB Notification: Performance of Templates: time 0.1868/0.3416, allocations: 9.617 MB / 0.5271 GB, free: 60.23 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe 2>&1)