Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.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.TwoBusesPowerTransferTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 176.1 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.401/1.401, 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.0008006/0.0008006, allocations: 100.5 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.06072/0.06072, allocations: 14.38 MB / 358.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003227, allocations: 9.828 kB / 423.2 MB, free: 85.92 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07823/0.07858, allocations: 53.95 MB / 477.2 MB, free: 32.84 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.004491/0.08312, allocations: 6.579 MB / 483.8 MB, free: 26.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0044/0.08757, allocations: 4.3 MB / 488.1 MB, free: 21.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006436/0.08825, allocations: 15.94 kB / 488.1 MB, free: 21.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008409/0.0891, allocations: 362.5 kB / 488.4 MB, free: 21.31 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.09227, allocations: 2.428 MB / 490.8 MB, free: 18.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009257/0.09321, allocations: 1.128 MB / 492 MB, free: 17.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.09489, allocations: 1.84 MB / 493.8 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.09512, allocations: 122.2 kB / 493.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005032/0.09564, allocations: 497.4 kB / 494.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004353/0.09608, allocations: 0.521 MB / 494.9 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/0.09615, allocations: 28 kB / 495 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007895/0.09694, allocations: 359.7 kB / 495.3 MB, free: 13.99 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.327e-05/0.09704, allocations: 119.2 kB / 495.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003731/0.09742, allocations: 0.4952 MB / 495.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.09848, allocations: 1.308 MB / 497.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.0985, allocations: 0 / 497.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09851, allocations: 0 / 497.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.09853, allocations: 0 / 497.2 MB, free: 12.05 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.003988/0.1025, allocations: 1.509 MB / 498.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1026, allocations: 16.02 kB / 498.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005455/0.1031, allocations: 147.7 kB / 498.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000861/0.104, allocations: 0.6491 MB / 499.6 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.104, allocations: 58.38 kB / 499.6 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.033e-05/0.1041, allocations: 75.94 kB / 499.7 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009844/0.1051, allocations: 0.7464 MB / 0.4887 GB, free: 8.746 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.1051, allocations: 0 / 0.4887 GB, free: 8.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.1052, allocations: 32 kB / 0.4887 GB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.1052, allocations: 20 kB / 0.4888 GB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000984/0.1062, allocations: 0.7222 MB / 0.4895 GB, free: 7.973 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.003543/0.1098, allocations: 4.413 MB / 0.4938 GB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.1113, allocations: 1.166 MB / 0.4949 GB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/0.1117, allocations: 321.5 kB / 0.4952 GB, free: 1.488 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.052e-05/0.1118, allocations: 8.656 kB / 0.4952 GB, free: 1.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.1118, allocations: 51.2 kB / 0.4953 GB, free: 1.422 MB / 330.7 MB Notification: Performance of pre-optimization done (n=82): time 2.525e-06/0.1118, allocations: 0 / 0.4953 GB, free: 1.422 MB / 330.7 MB Notification: Performance of matching and sorting (n=82): time 0.002502/0.1143, allocations: 1.257 MB / 0.4965 GB, free: 140 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.1143, allocations: 64 kB / 0.4966 GB, free: 64 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005763/0.1149, allocations: 486.9 kB / 0.497 GB, free: 15.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/0.115, allocations: 41.7 kB / 0.4971 GB, free: 15.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.1152, allocations: 352.1 kB / 0.4974 GB, free: 15.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.1155, allocations: 279.8 kB / 0.4977 GB, free: 14.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.1155, allocations: 16 kB / 0.4977 GB, free: 14.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1157, allocations: 378.8 kB / 0.498 GB, free: 14.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.1161, allocations: 217.9 kB / 0.4983 GB, free: 14.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.1165, allocations: 316.9 kB / 0.4986 GB, free: 13.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/0.1174, allocations: 0.5669 MB / 0.4991 GB, free: 13.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1174, allocations: 0 / 0.4991 GB, free: 13.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001521/0.119, allocations: 0.8525 MB / 0.4999 GB, free: 12.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.119, allocations: 11.94 kB / 0.5 GB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.119, allocations: 4 kB / 0.5 GB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006065/0.1196, allocations: 188.8 kB / 0.5001 GB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008112/0.1204, allocations: 191.8 kB / 0.5003 GB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/0.1234, allocations: 2.311 MB / 0.5026 GB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005936/0.1241, allocations: 51.62 kB / 0.5026 GB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.1241, allocations: 28 kB / 0.5027 GB, free: 9.602 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0003337/0.1245, allocations: 221.6 kB / 0.5029 GB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.1246, allocations: 75.16 kB / 0.5029 GB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.1261, allocations: 0.8298 MB / 0.5037 GB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.1261, allocations: 8 kB / 0.5038 GB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1261, allocations: 7.938 kB / 0.5038 GB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.1262, allocations: 7.922 kB / 0.5038 GB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.1288, allocations: 1.882 MB / 0.5056 GB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.1289, allocations: 3.938 kB / 0.5056 GB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007242/0.1296, allocations: 163.8 kB / 0.5058 GB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/0.1301, allocations: 177.1 kB / 0.5059 GB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.1302, allocations: 11.98 kB / 0.5059 GB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/0.133, allocations: 2.312 MB / 0.5082 GB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.133, allocations: 8 kB / 0.5082 GB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.1344, allocations: 0.877 MB / 0.5091 GB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.1347, allocations: 204.3 kB / 0.5093 GB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.048e-05/0.1348, allocations: 23.94 kB / 0.5093 GB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.1352, allocations: 27.75 kB / 0.5093 GB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.1354, allocations: 52.58 kB / 0.5094 GB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.1354, allocations: 16 kB / 0.5094 GB, free: 2.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004011/0.1358, allocations: 342.8 kB / 0.5097 GB, free: 2.066 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.603e-06/0.1358, allocations: 0 / 0.5097 GB, free: 2.066 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008013/0.1366, allocations: 279.7 kB / 0.51 GB, free: 1.793 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 (67): * Single equations (assignments): 66 * 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.0002807/0.1369, allocations: 187.3 kB / 0.5102 GB, free: 1.602 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.1384, allocations: 0.8185 MB / 0.511 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1384, allocations: 4 kB / 0.511 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007987/0.1392, allocations: 0.5332 MB / 0.5115 GB, free: 232 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006127/0.1399, allocations: 90.28 kB / 0.5116 GB, free: 140 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.00238/0.1423, allocations: 1.647 MB / 0.5132 GB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.1428, allocations: 0.9423 MB / 0.5141 GB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004723/0.1433, allocations: 93.3 kB / 0.5142 GB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.1435, allocations: 51.44 kB / 0.5142 GB, free: 13.35 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1435, allocations: 0 / 0.5142 GB, free: 13.35 MB / 362.7 MB Notification: Performance of Templates: time 0.01493/0.1584, allocations: 7.676 MB / 0.5217 GB, free: 5.684 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & ./PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1)