Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.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.SynchronousMachine4WindingsNoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 176.4 kB / 15.43 MB, free: 6.203 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.315/1.315, allocations: 225.7 MB / 241.9 MB, free: 14.67 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.0007308/0.0007308, allocations: 94.64 kB / 293 MB, free: 4.832 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.06242/0.06242, allocations: 14.38 MB / 358.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003181, allocations: 14.75 kB / 423.2 MB, free: 97.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08104/0.08138, allocations: 53.95 MB / 477.2 MB, free: 58.21 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.003608/0.08504, allocations: 4.927 MB / 482.1 MB, free: 53.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003421/0.08849, allocations: 3.805 MB / 485.9 MB, free: 49.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.08883, allocations: 12 kB / 485.9 MB, free: 49.17 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.08936, allocations: 238.9 kB / 486.2 MB, free: 48.94 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.09146, allocations: 2.017 MB / 488.2 MB, free: 46.7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006976/0.09217, allocations: 0.6431 MB / 488.8 MB, free: 46 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.09322, allocations: 1.386 MB / 490.2 MB, free: 44.61 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.09337, allocations: 77.75 kB / 490.3 MB, free: 44.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.09371, allocations: 414.2 kB / 490.7 MB, free: 44.12 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.09413, allocations: 477.9 kB / 491.1 MB, free: 43.65 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.322e-05/0.09422, allocations: 36 kB / 491.2 MB, free: 43.61 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00047/0.09469, allocations: 255.8 kB / 491.4 MB, free: 43.36 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.551e-05/0.09479, allocations: 135.3 kB / 491.6 MB, free: 43.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002885/0.09508, allocations: 423.5 kB / 492 MB, free: 42.81 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007791/0.09587, allocations: 1.048 MB / 493 MB, free: 41.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09588, allocations: 0 / 493 MB, free: 41.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09589, allocations: 0 / 493 MB, free: 41.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.0959, allocations: 0 / 493 MB, free: 41.76 MB / 346.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.002787/0.0987, allocations: 1.225 MB / 494.2 MB, free: 40.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.09874, allocations: 12.03 kB / 494.3 MB, free: 40.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003965/0.09915, allocations: 108 kB / 494.4 MB, free: 40.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.09996, allocations: 0.5246 MB / 494.9 MB, free: 39.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.1, allocations: 45.38 kB / 494.9 MB, free: 39.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.1001, allocations: 68.03 kB / 495 MB, free: 39.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008076/0.1009, allocations: 486.1 kB / 495.5 MB, free: 39.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.101, allocations: 0 / 495.5 MB, free: 39.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.101, allocations: 16 kB / 495.5 MB, free: 39.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.101, allocations: 12 kB / 495.5 MB, free: 39.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008648/0.1019, allocations: 499.7 kB / 496 MB, free: 38.7 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 preOpt removeSimpleEquations (simulation): time 0.004228/0.1061, allocations: 2.864 MB / 498.9 MB, free: 35.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.1072, allocations: 0.773 MB / 499.6 MB, free: 34.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.1075, allocations: 242.5 kB / 499.9 MB, free: 34.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.591e-05/0.1076, allocations: 4.562 kB / 499.9 MB, free: 34.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.1076, allocations: 43.12 kB / 499.9 MB, free: 34.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=62): time 2.174e-06/0.1076, allocations: 0 / 499.9 MB, free: 34.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=63): time 0.004408/0.112, allocations: 2.066 MB / 0.4902 GB, free: 32.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.1121, allocations: 55.97 kB / 0.4903 GB, free: 32.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.1125, allocations: 0.5025 MB / 0.4908 GB, free: 31.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.1126, allocations: 41.7 kB / 0.4908 GB, free: 31.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.1127, allocations: 261.2 kB / 0.491 GB, free: 31.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.1128, allocations: 220.7 kB / 0.4913 GB, free: 31.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.1129, allocations: 20 kB / 0.4913 GB, free: 31.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.113, allocations: 374.8 kB / 0.4916 GB, free: 30.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004535/0.1134, allocations: 321.9 kB / 0.4919 GB, free: 30.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/0.1139, allocations: 401.4 kB / 0.4923 GB, free: 30.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008519/0.1148, allocations: 0.6396 MB / 0.4929 GB, free: 29.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1148, allocations: 0 / 0.4929 GB, free: 29.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002703/0.1175, allocations: 1.275 MB / 0.4942 GB, free: 28.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1175, allocations: 8 kB / 0.4942 GB, free: 28.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1176, allocations: 3.938 kB / 0.4942 GB, free: 28.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002366/0.1199, allocations: 0.6068 MB / 0.4948 GB, free: 27.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008485/0.1208, allocations: 223.7 kB / 0.495 GB, free: 27.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007447/0.1282, allocations: 10.59 MB / 0.5054 GB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006285/0.1289, allocations: 27.94 kB / 0.5054 GB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.129, allocations: 47.97 kB / 0.5054 GB, free: 15.62 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.0002436/0.1292, allocations: 200.1 kB / 0.5056 GB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.217e-05/0.1293, allocations: 63.16 kB / 0.5057 GB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.1307, allocations: 0.7831 MB / 0.5064 GB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1308, allocations: 12 kB / 0.5065 GB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1308, allocations: 4 kB / 0.5065 GB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1308, allocations: 3.984 kB / 0.5065 GB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.1328, allocations: 1.564 MB / 0.508 GB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1328, allocations: 0 / 0.508 GB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/0.1334, allocations: 139.9 kB / 0.5081 GB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008372/0.1342, allocations: 268.6 kB / 0.5084 GB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.1343, allocations: 12 kB / 0.5084 GB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/0.1369, allocations: 2.398 MB / 0.5107 GB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1369, allocations: 0 / 0.5107 GB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.1386, allocations: 1.124 MB / 0.5118 GB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.1388, allocations: 180.3 kB / 0.512 GB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.1389, allocations: 8 kB / 0.512 GB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.1393, allocations: 31.83 kB / 0.512 GB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1394, allocations: 48.5 kB / 0.5121 GB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.1394, allocations: 16 kB / 0.5121 GB, free: 8.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002787/0.1397, allocations: 330.8 kB / 0.5124 GB, free: 8.191 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1397, allocations: 3.938 kB / 0.5124 GB, free: 8.188 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006909/0.1404, allocations: 264 kB / 0.5127 GB, free: 7.93 MB / 346.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.0001989/0.1406, allocations: 171.4 kB / 0.5128 GB, free: 7.754 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.1428, allocations: 1.663 MB / 0.5145 GB, free: 5.992 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1428, allocations: 4 kB / 0.5145 GB, free: 5.988 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008153/0.1436, allocations: 0.5287 MB / 0.515 GB, free: 5.441 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.1442, allocations: 88.47 kB / 0.5151 GB, free: 5.359 MB / 346.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.001843/0.146, allocations: 1.678 MB / 0.5167 GB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.1463, allocations: 0.8994 MB / 0.5176 GB, free: 2.727 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000274/0.1466, allocations: 68.84 kB / 0.5176 GB, free: 2.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.1467, allocations: 43.44 kB / 0.5177 GB, free: 2.617 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1467, allocations: 0 / 0.5177 GB, free: 2.617 MB / 346.7 MB Notification: Performance of Templates: time 0.01582/0.1625, allocations: 9.702 MB / 0.5272 GB, free: 8.926 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe 2>&1)