Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.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.TwoBusesResistiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 179.6 kB / 15.43 MB, free: 5.77 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.387/1.387, allocations: 225.7 MB / 241.9 MB, free: 388 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.0007882/0.0007882, allocations: 98.94 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.05904/0.05904, allocations: 14.38 MB / 358.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002984, allocations: 8.656 kB / 423.2 MB, free: 85.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07683/0.07714, allocations: 53.96 MB / 477.2 MB, free: 32.84 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.004561/0.08175, allocations: 6.575 MB / 483.8 MB, free: 26.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004108/0.08589, allocations: 4.292 MB / 488 MB, free: 21.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006614/0.08657, allocations: 23.94 kB / 488.1 MB, free: 21.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009008/0.08749, allocations: 354.5 kB / 488.4 MB, free: 21.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.09065, allocations: 2.433 MB / 490.9 MB, free: 18.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009507/0.09161, allocations: 1.128 MB / 492 MB, free: 17.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.09333, allocations: 1.848 MB / 493.8 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.09355, allocations: 126.2 kB / 494 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006181/0.09418, allocations: 485.4 kB / 494.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00061/0.0948, allocations: 0.5172 MB / 494.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.612e-05/0.0949, allocations: 31.94 kB / 495 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007875/0.09569, allocations: 355.7 kB / 495.3 MB, free: 14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.413e-05/0.09578, allocations: 111.3 kB / 495.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004443/0.09623, allocations: 0.499 MB / 495.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.09763, allocations: 1.289 MB / 497.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.09764, allocations: 0 / 497.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.09765, allocations: 0 / 497.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.278e-05/0.09769, allocations: 0 / 497.2 MB, free: 12.09 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.004231/0.1019, allocations: 1.52 MB / 498.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.102, allocations: 16.03 kB / 498.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006209/0.1026, allocations: 147.7 kB / 498.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008771/0.1035, allocations: 0.6413 MB / 499.5 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.1035, allocations: 54.38 kB / 499.6 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.591e-05/0.1036, allocations: 75.94 kB / 499.7 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009623/0.1046, allocations: 0.7693 MB / 0.4887 GB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1046, allocations: 0 / 0.4887 GB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.452e-05/0.1047, allocations: 32 kB / 0.4887 GB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.1047, allocations: 16 kB / 0.4888 GB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009368/0.1056, allocations: 0.7026 MB / 0.4894 GB, free: 7.992 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.003741/0.1094, allocations: 4.681 MB / 0.494 GB, free: 2.797 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.1108, allocations: 0.942 MB / 0.4949 GB, free: 1.809 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.1111, allocations: 308.6 kB / 0.4952 GB, free: 1.508 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.1112, allocations: 8.656 kB / 0.4952 GB, free: 1.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.1112, allocations: 43.16 kB / 0.4953 GB, free: 1.449 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.936e-06/0.1112, allocations: 0 / 0.4953 GB, free: 1.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.002415/0.1137, allocations: 1.233 MB / 0.4965 GB, free: 192 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.1137, allocations: 60.06 kB / 0.4965 GB, free: 120 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005933/0.1143, allocations: 0.4912 MB / 0.497 GB, free: 15.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.1144, allocations: 45.64 kB / 0.4971 GB, free: 15.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.1146, allocations: 363.7 kB / 0.4974 GB, free: 15.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.1148, allocations: 264.1 kB / 0.4977 GB, free: 14.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.1149, allocations: 16 kB / 0.4977 GB, free: 14.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.115, allocations: 382.8 kB / 0.498 GB, free: 14.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.1154, allocations: 213.9 kB / 0.4982 GB, free: 14.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.1158, allocations: 328.3 kB / 0.4986 GB, free: 13.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008104/0.1166, allocations: 0.5858 MB / 0.4991 GB, free: 13.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1167, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001443/0.1181, allocations: 0.8525 MB / 0.5 GB, free: 12.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1181, allocations: 4 kB / 0.5 GB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1181, allocations: 4 kB / 0.5 GB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006025/0.1188, allocations: 184.8 kB / 0.5001 GB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007782/0.1195, allocations: 191.8 kB / 0.5003 GB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/0.1225, allocations: 2.338 MB / 0.5026 GB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/0.123, allocations: 59.38 kB / 0.5027 GB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/0.1231, allocations: 28 kB / 0.5027 GB, free: 9.559 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.0003127/0.1234, allocations: 225.7 kB / 0.5029 GB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.1236, allocations: 75.16 kB / 0.503 GB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.125, allocations: 0.7945 MB / 0.5038 GB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.125, allocations: 8 kB / 0.5038 GB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.125, allocations: 4 kB / 0.5038 GB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.125, allocations: 3.984 kB / 0.5038 GB, free: 8.43 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.002491/0.1275, allocations: 1.733 MB / 0.5055 GB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1275, allocations: 0 / 0.5055 GB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006749/0.1282, allocations: 167.8 kB / 0.5056 GB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004898/0.1287, allocations: 172.7 kB / 0.5058 GB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.1288, allocations: 8 kB / 0.5058 GB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002782/0.1315, allocations: 2.317 MB / 0.5081 GB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1316, allocations: 4 kB / 0.5081 GB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.1329, allocations: 0.8536 MB / 0.5089 GB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/0.1332, allocations: 200.2 kB / 0.5091 GB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.602e-05/0.1333, allocations: 16 kB / 0.5091 GB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.1338, allocations: 27.75 kB / 0.5091 GB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1339, allocations: 56.58 kB / 0.5092 GB, free: 2.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.1339, allocations: 20 kB / 0.5092 GB, free: 2.609 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004037/0.1343, allocations: 338.9 kB / 0.5095 GB, free: 2.281 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1343, allocations: 0 / 0.5095 GB, free: 2.281 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007919/0.1351, allocations: 283.8 kB / 0.5098 GB, free: 2.004 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.0002803/0.1354, allocations: 183.2 kB / 0.51 GB, free: 1.816 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.1369, allocations: 0.7993 MB / 0.5108 GB, free: 1.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1369, allocations: 0 / 0.5108 GB, free: 1.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007941/0.1377, allocations: 0.5293 MB / 0.5113 GB, free: 472 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006224/0.1383, allocations: 86.22 kB / 0.5114 GB, free: 388 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.002311/0.1406, allocations: 1.635 MB / 0.5129 GB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.1412, allocations: 0.9427 MB / 0.5139 GB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004619/0.1416, allocations: 93.28 kB / 0.514 GB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.1418, allocations: 47.44 kB / 0.514 GB, free: 13.6 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1418, allocations: 0 / 0.514 GB, free: 13.6 MB / 362.7 MB Notification: Performance of Templates: time 0.01435/0.1561, allocations: 7.602 MB / 0.5214 GB, free: 6.008 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.sim & ./PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe 2>&1)