Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") translateModel(PowerSysPro.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 173.1 kB / 16.12 MB, free: 5.691 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.54/1.54, allocations: 225.7 MB / 242.6 MB, free: 8.484 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.0008564/0.0008563, allocations: 101.4 kB / 293.8 MB, free: 9.496 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05333/0.05333, allocations: 8.107 MB / 353 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003236, allocations: 8.562 kB / 416.2 MB, free: 56.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09867, allocations: 52.52 MB / 468.7 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.001424/0.1002, allocations: 0.9377 MB / 469.7 MB, free: 2.641 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1019, allocations: 1.736 MB / 471.4 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.1021, allocations: 0 / 471.4 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003969/0.1025, allocations: 91.67 kB / 471.5 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.1028, allocations: 51.62 kB / 471.5 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.1044, allocations: 1.66 MB / 473.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.1047, allocations: 123.5 kB / 473.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.1049, allocations: 56.89 kB / 473.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.809e-05/0.105, allocations: 47.8 kB / 473.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1051, allocations: 59.7 kB / 473.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1051, allocations: 8 kB / 473.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.1055, allocations: 131.9 kB / 473.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.1055, allocations: 23.86 kB / 473.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.701e-05/0.1056, allocations: 81.39 kB / 473.7 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.1061, allocations: 255.4 kB / 474 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1061, allocations: 4 kB / 474 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1061, allocations: 0 / 474 MB, free: 13.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.1061, allocations: 0 / 474 MB, free: 13.93 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001351/0.1075, allocations: 0.538 MB / 474.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1075, allocations: 8.031 kB / 474.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.684e-05/0.1076, allocations: 20.75 kB / 474.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.1079, allocations: 204.2 kB / 474.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1079, allocations: 16.38 kB / 474.8 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.108, allocations: 12.38 kB / 474.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.1083, allocations: 146.2 kB / 474.9 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1083, allocations: 192 / 474.9 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.1083, allocations: 11.94 kB / 474.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1083, allocations: 7.938 kB / 474.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.1085, allocations: 115.9 kB / 475 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008639/0.1094, allocations: 0.5234 MB / 475.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008515/0.1103, allocations: 150.7 kB / 475.7 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.167e-05/0.1104, allocations: 40.8 kB / 475.8 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.1105, allocations: 93.02 kB / 475.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1106, allocations: 34.56 kB / 475.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.855e-06/0.1106, allocations: 7.984 kB / 475.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.00117/0.1117, allocations: 339.4 kB / 476.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.1118, allocations: 63.28 kB / 476.3 MB, free: 11.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1119, allocations: 133.6 kB / 476.4 MB, free: 11.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.112, allocations: 29.7 kB / 476.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.801e-05/0.1121, allocations: 124.1 kB / 476.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.1121, allocations: 27.55 kB / 476.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.1121, allocations: 4 kB / 476.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1123, allocations: 326.8 kB / 476.9 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.1123, allocations: 35.98 kB / 476.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.687e-05/0.1124, allocations: 57.7 kB / 477 MB, free: 10.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.1126, allocations: 97.72 kB / 477.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1126, allocations: 0 / 477.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005018/0.1131, allocations: 218.1 kB / 477.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1132, allocations: 4 kB / 477.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1132, allocations: 3.984 kB / 477.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004468/0.1136, allocations: 72.78 kB / 477.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.452e-05/0.1137, allocations: 19.98 kB / 477.4 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.1154, allocations: 1.515 MB / 478.9 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.896e-05/0.1155, allocations: 11.88 kB / 478.9 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1156, allocations: 3.938 kB / 478.9 MB, free: 8.547 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.1157, allocations: 129.8 kB / 479.1 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.1158, allocations: 7.906 kB / 479.1 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005363/0.1163, allocations: 210.9 kB / 479.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.1163, allocations: 4.375 kB / 479.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.1163, allocations: 3.938 kB / 479.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1163, allocations: 3.984 kB / 479.3 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.1166, allocations: 225.5 kB / 479.5 MB, free: 7.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1166, allocations: 7.875 kB / 479.5 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.1167, allocations: 12 kB / 479.5 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003711/0.1171, allocations: 76.77 kB / 479.6 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1171, allocations: 4 kB / 479.6 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.1187, allocations: 1.515 MB / 481.1 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1187, allocations: 0 / 481.1 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.1192, allocations: 288.3 kB / 481.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.1193, allocations: 85.02 kB / 481.5 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1193, allocations: 7.938 kB / 481.5 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.1194, allocations: 4 kB / 481.5 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.1195, allocations: 7.984 kB / 481.5 MB, free: 5.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1195, allocations: 4 kB / 481.5 MB, free: 5.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.557e-05/0.1195, allocations: 99.27 kB / 481.6 MB, free: 5.633 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1196, allocations: 3.938 kB / 481.6 MB, free: 5.629 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003082/0.1199, allocations: 51.84 kB / 481.7 MB, free: 5.578 MB / 314.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 (8): * Single equations (assignments): 7 * 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 {(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.0002042/0.1201, allocations: 119.9 kB / 481.8 MB, free: 5.453 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005348/0.1206, allocations: 238.8 kB / 482 MB, free: 5.207 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1206, allocations: 0 / 482 MB, free: 5.207 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.121, allocations: 206.6 kB / 482.2 MB, free: 4.992 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.1213, allocations: 4 kB / 482.2 MB, free: 4.988 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.1219, allocations: 349.2 kB / 482.6 MB, free: 4.621 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1222, allocations: 0.7121 MB / 483.3 MB, free: 3.883 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.248e-05/0.1223, allocations: 16.66 kB / 483.3 MB, free: 3.859 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.1223, allocations: 11.44 kB / 483.3 MB, free: 3.852 MB / 314.7 MB Notification: Performance of SimCode: time 2e-07/0.1223, allocations: 0 / 483.3 MB, free: 3.852 MB / 314.7 MB Notification: Performance of Templates: time 0.004828/0.1272, allocations: 1.854 MB / 485.2 MB, free: 1.996 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & ./PowerSysPro_PowerSysPro.Tests.OnePerfectLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1)