Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 176.4 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.329/1.329, allocations: 225.7 MB / 242.6 MB, free: 8.461 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.0008664/0.0008664, allocations: 89.61 kB / 293.8 MB, free: 9.484 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.05/0.05, allocations: 8.101 MB / 353 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 8 kB / 416.2 MB, free: 56.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09094/0.09128, allocations: 52.51 MB / 468.7 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001144/0.09248, allocations: 0.8829 MB / 469.6 MB, free: 2.672 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.09392, allocations: 2.256 MB / 471.9 MB, free: 204 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.09399, allocations: 8 kB / 471.9 MB, free: 196 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.09425, allocations: 95.64 kB / 472 MB, free: 100 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.09443, allocations: 71.59 kB / 472 MB, free: 28 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.09632, allocations: 1.975 MB / 474 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.09655, allocations: 151.2 kB / 474.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.09668, allocations: 33.56 kB / 474.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.692e-05/0.09675, allocations: 59.77 kB / 474.2 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.09689, allocations: 79.61 kB / 474.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.09692, allocations: 8 kB / 474.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.09723, allocations: 175.9 kB / 474.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.09727, allocations: 35.78 kB / 474.5 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.397e-05/0.09736, allocations: 97.34 kB / 474.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.09775, allocations: 299.3 kB / 474.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.09776, allocations: 0 / 474.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.09777, allocations: 4 kB / 474.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.09778, allocations: 0 / 474.9 MB, free: 12.84 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.001415/0.0992, allocations: 0.6045 MB / 475.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.09925, allocations: 8.031 kB / 475.5 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.0993, allocations: 16.75 kB / 475.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.09956, allocations: 224.6 kB / 475.8 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.09958, allocations: 12.61 kB / 475.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.09962, allocations: 16.36 kB / 475.8 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.09991, allocations: 175.6 kB / 476 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.09993, allocations: 0 / 476 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.09995, allocations: 4 kB / 476 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.09997, allocations: 4 kB / 476 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.1002, allocations: 152.6 kB / 476.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009809/0.1012, allocations: 0.7147 MB / 476.8 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.1017, allocations: 194.5 kB / 477 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.1018, allocations: 100.8 kB / 477.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.1019, allocations: 7.984 kB / 477.1 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1019, allocations: 34.78 kB / 477.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.1019, allocations: 0 / 477.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001576/0.1035, allocations: 0.5697 MB / 477.7 MB, free: 9.801 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1035, allocations: 51.41 kB / 477.8 MB, free: 9.738 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1037, allocations: 168.8 kB / 478 MB, free: 9.566 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.1037, allocations: 33.7 kB / 478 MB, free: 9.527 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.1038, allocations: 112.3 kB / 478.1 MB, free: 9.414 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.1039, allocations: 59.14 kB / 478.2 MB, free: 9.355 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.1039, allocations: 4 kB / 478.2 MB, free: 9.352 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.104, allocations: 322.8 kB / 478.5 MB, free: 9.027 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.1042, allocations: 99.97 kB / 478.6 MB, free: 8.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.1043, allocations: 91.91 kB / 478.7 MB, free: 8.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.1046, allocations: 219.7 kB / 478.9 MB, free: 8.625 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1046, allocations: 0 / 478.9 MB, free: 8.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007369/0.1054, allocations: 372.9 kB / 479.2 MB, free: 8.254 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1054, allocations: 4 kB / 479.3 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1054, allocations: 7.938 kB / 479.3 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/0.106, allocations: 136.7 kB / 479.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1062, allocations: 35.92 kB / 479.4 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.1083, allocations: 1.894 MB / 481.3 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.1085, allocations: 15.84 kB / 481.3 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.1085, allocations: 12 kB / 481.4 MB, free: 6.012 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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.1086, allocations: 129.8 kB / 481.5 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.1087, allocations: 15.81 kB / 481.5 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008299/0.1096, allocations: 367.2 kB / 481.9 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.1096, allocations: 4 kB / 481.9 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.1096, allocations: 0 / 481.9 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1096, allocations: 0 / 481.9 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.1099, allocations: 301.3 kB / 482.1 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1099, allocations: 3.938 kB / 482.2 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.374e-05/0.11, allocations: 19.98 kB / 482.2 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005577/0.1106, allocations: 136.7 kB / 482.3 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.1106, allocations: 7.984 kB / 482.3 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.1125, allocations: 1.851 MB / 484.2 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1125, allocations: 4.031 kB / 484.2 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007446/0.1132, allocations: 431.8 kB / 484.6 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.1133, allocations: 92.94 kB / 484.7 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1133, allocations: 8 kB / 484.7 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1135, allocations: 8 kB / 484.7 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.1135, allocations: 19.97 kB / 484.7 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1135, allocations: 7.938 kB / 484.7 MB, free: 2.395 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.1137, allocations: 129.2 kB / 484.9 MB, free: 2.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1137, allocations: 0 / 484.9 MB, free: 2.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002918/0.114, allocations: 71.91 kB / 484.9 MB, free: 2.199 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 (13): * Single equations (assignments): 12 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001722/0.1141, allocations: 127.7 kB / 485 MB, free: 2.062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006833/0.1148, allocations: 374.5 kB / 485.4 MB, free: 1.684 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1149, allocations: 4 kB / 485.4 MB, free: 1.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.1153, allocations: 254.6 kB / 485.7 MB, free: 1.418 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.1156, allocations: 16 kB / 485.7 MB, free: 1.402 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006023/0.1162, allocations: 435.6 kB / 486.1 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.1165, allocations: 0.7128 MB / 486.8 MB, free: 220 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.997e-05/0.1166, allocations: 25.39 kB / 486.8 MB, free: 192 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.1166, allocations: 19.44 kB / 486.9 MB, free: 172 kB / 314.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1166, allocations: 4 kB / 486.9 MB, free: 168 kB / 314.7 MB Notification: Performance of Templates: time 0.1965/0.3131, allocations: 3.69 MB / 490.6 MB, free: 25.97 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)