Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.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.LoadImpedancePQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ") translateModel(PowerGrids.Electrical.Test.LoadImpedancePQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009806/0.0009806, allocations: 176 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.516/1.516, allocations: 225.7 MB / 241.9 MB, free: 14.43 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.000765/0.0007651, allocations: 96.72 kB / 293 MB, free: 4.992 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.05781/0.05781, allocations: 14.38 MB / 358.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002988, allocations: 12.75 kB / 423.2 MB, free: 97.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08362/0.08394, allocations: 53.94 MB / 477.2 MB, free: 58.17 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.005798/0.08976, allocations: 9.189 MB / 486.4 MB, free: 48.95 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005249/0.09504, allocations: 5.082 MB / 491.4 MB, free: 43.63 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007496/0.09581, allocations: 27.88 kB / 491.5 MB, free: 43.61 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00098/0.0968, allocations: 465.9 kB / 491.9 MB, free: 43.15 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.1005, allocations: 2.687 MB / 494.6 MB, free: 40.23 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000741/0.1013, allocations: 0.5611 MB / 495.2 MB, free: 39.62 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002582/0.1039, allocations: 2.883 MB / 498.1 MB, free: 36.72 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.1042, allocations: 175.7 kB / 498.2 MB, free: 36.54 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008475/0.105, allocations: 0.7501 MB / 499 MB, free: 35.78 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006184/0.1057, allocations: 0.7776 MB / 499.8 MB, free: 35 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.565e-05/0.1058, allocations: 36 kB / 499.8 MB, free: 34.96 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007843/0.1066, allocations: 339.7 kB / 0.4884 GB, free: 34.63 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1067, allocations: 166.9 kB / 0.4886 GB, free: 34.47 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005051/0.1072, allocations: 0.7477 MB / 0.4893 GB, free: 33.71 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.1086, allocations: 1.784 MB / 0.491 GB, free: 31.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1086, allocations: 0 / 0.491 GB, free: 31.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1086, allocations: 0 / 0.491 GB, free: 31.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.651e-05/0.1087, allocations: 0 / 0.491 GB, free: 31.92 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.00814/0.1168, allocations: 2.362 MB / 0.4933 GB, free: 29.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1169, allocations: 8.031 kB / 0.4933 GB, free: 29.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008086/0.1177, allocations: 227 kB / 0.4936 GB, free: 29.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.1189, allocations: 0.9128 MB / 0.4945 GB, free: 28.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/0.119, allocations: 74.12 kB / 0.4945 GB, free: 28.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.1191, allocations: 100 kB / 0.4946 GB, free: 28.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.1206, allocations: 1.105 MB / 0.4957 GB, free: 26.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.1206, allocations: 0 / 0.4957 GB, free: 26.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.1207, allocations: 43.98 kB / 0.4957 GB, free: 26.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.1207, allocations: 28 kB / 0.4958 GB, free: 26.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.1222, allocations: 1.054 MB / 0.4968 GB, free: 25.86 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.004817/0.127, allocations: 6.309 MB / 0.503 GB, free: 18.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.1293, allocations: 1.489 MB / 0.5044 GB, free: 17.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005638/0.1299, allocations: 423.7 kB / 0.5048 GB, free: 16.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.127e-05/0.13, allocations: 20 kB / 0.5048 GB, free: 16.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.13, allocations: 46.5 kB / 0.5049 GB, free: 16.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 3.246e-06/0.1301, allocations: 0 / 0.5049 GB, free: 16.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=116): time 0.002997/0.1331, allocations: 1.714 MB / 0.5066 GB, free: 14.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.1331, allocations: 118.8 kB / 0.5067 GB, free: 14.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000643/0.1338, allocations: 0.7005 MB / 0.5074 GB, free: 14.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/0.1338, allocations: 45.7 kB / 0.5074 GB, free: 14.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.134, allocations: 0.4883 MB / 0.5079 GB, free: 13.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.1343, allocations: 402.1 kB / 0.5083 GB, free: 13.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.1343, allocations: 20 kB / 0.5083 GB, free: 13.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.1344, allocations: 345.9 kB / 0.5086 GB, free: 12.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005016/0.1349, allocations: 330.5 kB / 0.5089 GB, free: 12.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005583/0.1355, allocations: 495.5 kB / 0.5094 GB, free: 11.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.1366, allocations: 0.8787 MB / 0.5102 GB, free: 10.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1366, allocations: 4 kB / 0.5103 GB, free: 10.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00178/0.1384, allocations: 1.181 MB / 0.5114 GB, free: 9.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1384, allocations: 8 kB / 0.5114 GB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.1384, allocations: 7.938 kB / 0.5114 GB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005486/0.139, allocations: 166.6 kB / 0.5116 GB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.1403, allocations: 323.5 kB / 0.5119 GB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.1434, allocations: 4.439 MB / 0.5162 GB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009564/0.1443, allocations: 91.34 kB / 0.5163 GB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.1444, allocations: 39.98 kB / 0.5164 GB, free: 4.297 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000401/0.1448, allocations: 282.1 kB / 0.5166 GB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.145, allocations: 118.7 kB / 0.5167 GB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.1468, allocations: 1.168 MB / 0.5179 GB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.1469, allocations: 15.98 kB / 0.5179 GB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1469, allocations: 4 kB / 0.5179 GB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.1469, allocations: 7.969 kB / 0.5179 GB, free: 2.684 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.00318/0.1501, allocations: 2.721 MB / 0.5206 GB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1501, allocations: 0 / 0.5206 GB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.1513, allocations: 283.6 kB / 0.5208 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005006/0.1518, allocations: 154.4 kB / 0.521 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.954e-05/0.1519, allocations: 31.98 kB / 0.521 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003895/0.1558, allocations: 4.435 MB / 0.5253 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1558, allocations: 7.969 kB / 0.5253 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.1579, allocations: 1.328 MB / 0.5266 GB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.1583, allocations: 271.5 kB / 0.5269 GB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.1585, allocations: 19.94 kB / 0.5269 GB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007827/0.1592, allocations: 67.66 kB / 0.527 GB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.1594, allocations: 79.83 kB / 0.5271 GB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/0.1595, allocations: 27.98 kB / 0.5271 GB, free: 8.688 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006072/0.1601, allocations: 487 kB / 0.5276 GB, free: 8.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1601, allocations: 0 / 0.5276 GB, free: 8.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001214/0.1613, allocations: 379.8 kB / 0.5279 GB, free: 7.844 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003589/0.1617, allocations: 203.4 kB / 0.5281 GB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002106/0.1638, allocations: 1.296 MB / 0.5294 GB, free: 6.301 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1638, allocations: 0 / 0.5294 GB, free: 6.301 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.1651, allocations: 0.8751 MB / 0.5302 GB, free: 5.387 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000951/0.1661, allocations: 135.1 kB / 0.5304 GB, free: 5.254 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.003882/0.17, allocations: 2.464 MB / 0.5328 GB, free: 2.754 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/0.1707, allocations: 1.071 MB / 0.5338 GB, free: 1.656 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000838/0.1715, allocations: 155.7 kB / 0.534 GB, free: 1.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.1717, allocations: 83.41 kB / 0.534 GB, free: 1.418 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1717, allocations: 0 / 0.534 GB, free: 1.418 MB / 362.7 MB Notification: Performance of Templates: time 0.02038/0.1921, allocations: 10.96 MB / 0.5447 GB, free: 6.461 MB / 378.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.sim & ./PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe 2>&1)