Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 172.6 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.383/1.383, allocations: 225.7 MB / 242.6 MB, free: 8.465 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.0009728/0.0009729, allocations: 103.7 kB / 293.8 MB, free: 9.488 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.05243/0.05243, allocations: 8.089 MB / 353 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003477, allocations: 8 kB / 416.2 MB, free: 56.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.09899, allocations: 52.52 MB / 468.7 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.001613/0.1007, allocations: 0.8166 MB / 469.5 MB, free: 2.746 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1027, allocations: 2.157 MB / 471.7 MB, free: 400 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1028, allocations: 4 kB / 471.7 MB, free: 396 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004258/0.1033, allocations: 95.59 kB / 471.8 MB, free: 300 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.1036, allocations: 59.69 kB / 471.9 MB, free: 240 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.1057, allocations: 1.676 MB / 473.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.106, allocations: 127.4 kB / 473.7 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.1062, allocations: 37.08 kB / 473.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1063, allocations: 55.72 kB / 473.8 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1064, allocations: 55.77 kB / 473.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.1065, allocations: 11.94 kB / 473.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003966/0.1069, allocations: 155.8 kB / 474 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.1069, allocations: 19.92 kB / 474 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.107, allocations: 77.42 kB / 474.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.1076, allocations: 267.4 kB / 474.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1076, allocations: 0 / 474.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1076, allocations: 0 / 474.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1076, allocations: 0 / 474.3 MB, free: 13.52 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001555/0.1092, allocations: 0.5655 MB / 474.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1092, allocations: 8.031 kB / 474.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.1093, allocations: 16.75 kB / 474.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.1096, allocations: 208.1 kB / 475.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.1096, allocations: 8.609 kB / 475.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.1097, allocations: 16.38 kB / 475.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.11, allocations: 164 kB / 475.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1101, allocations: 4.188 kB / 475.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.1101, allocations: 7.938 kB / 475.3 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1101, allocations: 4 kB / 475.3 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.1104, allocations: 148.6 kB / 475.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.1116, allocations: 0.5792 MB / 476 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.112, allocations: 162.5 kB / 476.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.1121, allocations: 72.84 kB / 476.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.004e-05/0.1122, allocations: 3.984 kB / 476.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.1123, allocations: 46.5 kB / 476.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/0.1123, allocations: 0 / 476.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001221/0.1135, allocations: 375.4 kB / 476.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.1135, allocations: 51.41 kB / 476.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.1138, allocations: 176 kB / 476.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.1138, allocations: 25.7 kB / 476.9 MB, free: 10.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.1139, allocations: 128 kB / 477.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.114, allocations: 47.44 kB / 477.1 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.114, allocations: 4 kB / 477.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1141, allocations: 322.8 kB / 477.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.1143, allocations: 91.95 kB / 477.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.1145, allocations: 88.58 kB / 477.6 MB, free: 10 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.1149, allocations: 196.2 kB / 477.8 MB, free: 9.812 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1149, allocations: 0 / 477.8 MB, free: 9.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006691/0.1156, allocations: 306 kB / 478.1 MB, free: 9.504 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1156, allocations: 7.984 kB / 478.1 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1156, allocations: 0 / 478.1 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/0.116, allocations: 52.83 kB / 478.2 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.1162, allocations: 31.97 kB / 478.2 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.1178, allocations: 1.432 MB / 479.6 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.118, allocations: 19.81 kB / 479.6 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.118, allocations: 8.141 kB / 479.6 MB, free: 7.812 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 21 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.1182, allocations: 133.8 kB / 479.8 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.1182, allocations: 7.906 kB / 479.8 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005315/0.1187, allocations: 239.4 kB / 480 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.1188, allocations: 7.938 kB / 480 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1188, allocations: 3.938 kB / 480 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1188, allocations: 4 kB / 480 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.1191, allocations: 261.5 kB / 480.3 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1191, allocations: 0 / 480.3 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-05/0.1192, allocations: 23.92 kB / 480.3 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002323/0.1194, allocations: 48.83 kB / 480.4 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1195, allocations: 4 kB / 480.4 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.121, allocations: 1.436 MB / 481.8 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.121, allocations: 160 / 481.8 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.1215, allocations: 308.2 kB / 482.1 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.1216, allocations: 92.86 kB / 482.2 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.1216, allocations: 8 kB / 482.2 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1217, allocations: 7.922 kB / 482.2 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.1218, allocations: 8 kB / 482.2 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1218, allocations: 11.98 kB / 482.2 MB, free: 4.988 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1219, allocations: 129.6 kB / 482.4 MB, free: 4.863 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1219, allocations: 0 / 482.4 MB, free: 4.863 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003285/0.1223, allocations: 52 kB / 482.4 MB, free: 4.812 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 (12): * Single equations (assignments): 11 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002209/0.1225, allocations: 111.8 kB / 482.5 MB, free: 4.695 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007019/0.1232, allocations: 314.6 kB / 482.8 MB, free: 4.375 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1232, allocations: 4 kB / 482.8 MB, free: 4.371 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.1236, allocations: 198.6 kB / 483 MB, free: 4.164 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.1239, allocations: 19.84 kB / 483 MB, free: 4.145 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007022/0.1246, allocations: 372 kB / 483.4 MB, free: 3.758 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.1249, allocations: 0.7085 MB / 484.1 MB, free: 3.023 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.229e-05/0.125, allocations: 20.62 kB / 484.1 MB, free: 3.004 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.1251, allocations: 19.44 kB / 484.1 MB, free: 2.984 MB / 314.7 MB Notification: Performance of SimCode: time 3e-07/0.1251, allocations: 0 / 484.1 MB, free: 2.984 MB / 314.7 MB Notification: Performance of Templates: time 0.005618/0.1307, allocations: 2.008 MB / 486.2 MB, free: 0.9766 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)