Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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.TwoBusesInductiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 175.2 kB / 15.43 MB, free: 6.148 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.366/1.366, allocations: 225.7 MB / 241.9 MB, free: 416 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.0008876/0.0008877, allocations: 92.38 kB / 293.1 MB, free: 12.93 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.06173/0.06174, allocations: 14.37 MB / 358.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003096, allocations: 11.17 kB / 423.2 MB, free: 85.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07509/0.07542, allocations: 53.96 MB / 477.2 MB, free: 32.88 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.004957/0.08042, allocations: 6.579 MB / 483.8 MB, free: 26.26 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004399/0.08487, allocations: 4.292 MB / 488 MB, free: 21.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007564/0.08567, allocations: 23.88 kB / 488.1 MB, free: 21.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.08673, allocations: 354.5 kB / 488.4 MB, free: 21.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004025/0.09077, allocations: 2.429 MB / 490.8 MB, free: 18.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.09199, allocations: 1.128 MB / 492 MB, free: 17.4 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.09405, allocations: 1.856 MB / 493.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.09435, allocations: 118.2 kB / 493.9 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006804/0.09504, allocations: 489.4 kB / 494.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006061/0.09566, allocations: 0.5133 MB / 494.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.09578, allocations: 31.94 kB / 495 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008795/0.09667, allocations: 359.7 kB / 495.3 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.09679, allocations: 111.3 kB / 495.4 MB, free: 13.92 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004834/0.09728, allocations: 0.499 MB / 495.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.09866, allocations: 1.289 MB / 497.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.09868, allocations: 3.984 kB / 497.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.09869, allocations: 0 / 497.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.366e-05/0.09872, allocations: 0 / 497.2 MB, free: 12.12 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00414/0.1029, allocations: 1.516 MB / 498.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1029, allocations: 12.03 kB / 498.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006036/0.1035, allocations: 147.7 kB / 498.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009924/0.1045, allocations: 0.6413 MB / 499.5 MB, free: 9.715 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.1046, allocations: 58.38 kB / 499.6 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-05/0.1047, allocations: 75.94 kB / 499.7 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.1057, allocations: 0.7693 MB / 0.4887 GB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1058, allocations: 0 / 0.4887 GB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.1058, allocations: 28 kB / 0.4887 GB, free: 8.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.1058, allocations: 16 kB / 0.4887 GB, free: 8.734 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.1069, allocations: 0.6987 MB / 0.4894 GB, free: 8.035 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.003656/0.1105, allocations: 4.685 MB / 0.494 GB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.112, allocations: 0.9447 MB / 0.4949 GB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/0.1123, allocations: 304.9 kB / 0.4952 GB, free: 1.551 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.565e-05/0.1124, allocations: 12.59 kB / 0.4952 GB, free: 1.539 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.1124, allocations: 47.16 kB / 0.4953 GB, free: 1.484 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.355e-06/0.1124, allocations: 0 / 0.4953 GB, free: 1.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.002556/0.115, allocations: 1.229 MB / 0.4965 GB, free: 232 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.115, allocations: 64.06 kB / 0.4965 GB, free: 156 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/0.1156, allocations: 0.4911 MB / 0.497 GB, free: 15.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.1157, allocations: 45.58 kB / 0.4971 GB, free: 15.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.1159, allocations: 363.8 kB / 0.4974 GB, free: 15.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.1162, allocations: 272.1 kB / 0.4977 GB, free: 14.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.1162, allocations: 16 kB / 0.4977 GB, free: 14.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1164, allocations: 374.8 kB / 0.498 GB, free: 14.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.1167, allocations: 209.9 kB / 0.4982 GB, free: 14.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.1172, allocations: 332.3 kB / 0.4986 GB, free: 14.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008635/0.1181, allocations: 0.5858 MB / 0.4991 GB, free: 13.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1181, allocations: 4 kB / 0.4991 GB, free: 13.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001546/0.1196, allocations: 0.8485 MB / 0.5 GB, free: 12.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1197, allocations: 8 kB / 0.5 GB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1197, allocations: 8.312 kB / 0.5 GB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005968/0.1203, allocations: 184.6 kB / 0.5002 GB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007937/0.1211, allocations: 191.8 kB / 0.5003 GB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/0.1241, allocations: 2.327 MB / 0.5026 GB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/0.1247, allocations: 63.38 kB / 0.5027 GB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.1248, allocations: 32.03 kB / 0.5027 GB, free: 9.594 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003879/0.1252, allocations: 221.7 kB / 0.5029 GB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.1253, allocations: 71.16 kB / 0.503 GB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.127, allocations: 0.7984 MB / 0.5038 GB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.127, allocations: 8 kB / 0.5038 GB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.127, allocations: 4 kB / 0.5038 GB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.127, allocations: 3.984 kB / 0.5038 GB, free: 8.469 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.002784/0.1298, allocations: 1.733 MB / 0.5055 GB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.1299, allocations: 0 / 0.5055 GB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/0.1306, allocations: 167.8 kB / 0.5056 GB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005313/0.1311, allocations: 164.7 kB / 0.5058 GB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/0.1312, allocations: 12 kB / 0.5058 GB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/0.1342, allocations: 2.325 MB / 0.5081 GB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1342, allocations: 0 / 0.5081 GB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.1356, allocations: 0.8458 MB / 0.5089 GB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.136, allocations: 208.2 kB / 0.5091 GB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.1361, allocations: 20 kB / 0.5091 GB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.1365, allocations: 27.75 kB / 0.5091 GB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1366, allocations: 52.58 kB / 0.5092 GB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.1367, allocations: 20 kB / 0.5092 GB, free: 2.648 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004288/0.1371, allocations: 338.9 kB / 0.5095 GB, free: 2.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1371, allocations: 0 / 0.5095 GB, free: 2.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008665/0.138, allocations: 283.8 kB / 0.5098 GB, free: 2.043 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (63): * Single equations (assignments): 62 * 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003158/0.1383, allocations: 179.1 kB / 0.51 GB, free: 1.859 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.1398, allocations: 0.8032 MB / 0.5108 GB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1398, allocations: 0 / 0.5108 GB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008175/0.1406, allocations: 0.5371 MB / 0.5113 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.1413, allocations: 86.22 kB / 0.5114 GB, free: 420 kB / 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.002362/0.1436, allocations: 1.627 MB / 0.5129 GB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.1441, allocations: 0.9427 MB / 0.5139 GB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004809/0.1446, allocations: 89.3 kB / 0.514 GB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.1448, allocations: 51.44 kB / 0.514 GB, free: 13.64 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1448, allocations: 4 kB / 0.514 GB, free: 13.64 MB / 362.7 MB Notification: Performance of Templates: time 0.01477/0.1596, allocations: 7.6 MB / 0.5214 GB, free: 6.047 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.sim & ./PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe 2>&1)