Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001074, allocations: 180.5 kB / 16.13 MB, free: 5.148 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.457 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.0009789/0.0009791, allocations: 98.39 kB / 293.8 MB, free: 9.5 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.05475/0.05476, allocations: 8.097 MB / 353 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003373, allocations: 8 kB / 416.2 MB, free: 56.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09286/0.09322, allocations: 52.53 MB / 468.7 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.001725/0.095, allocations: 1.841 MB / 470.6 MB, free: 1.723 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.0971, allocations: 2.446 MB / 473 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.09722, allocations: 11.94 kB / 473 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.09755, allocations: 131.4 kB / 473.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.09796, allocations: 191 kB / 473.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.1005, allocations: 2.647 MB / 476 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004649/0.101, allocations: 378.1 kB / 476.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.1012, allocations: 107.8 kB / 476.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1013, allocations: 151.4 kB / 476.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.1016, allocations: 195.1 kB / 476.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.1016, allocations: 16 kB / 476.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.1021, allocations: 247.7 kB / 477.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.1021, allocations: 59.75 kB / 477.1 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.1023, allocations: 204.7 kB / 477.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005968/0.103, allocations: 0.557 MB / 477.9 MB, free: 9.812 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.103, allocations: 0 / 477.9 MB, free: 9.812 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.103, allocations: 7.938 kB / 477.9 MB, free: 9.805 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.103, allocations: 0 / 477.9 MB, free: 9.805 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004578/0.1076, allocations: 1.302 MB / 479.2 MB, free: 8.449 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1076, allocations: 8.031 kB / 479.2 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.1077, allocations: 48.47 kB / 479.2 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.1082, allocations: 335.4 kB / 479.6 MB, free: 8.027 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.1082, allocations: 20.94 kB / 479.6 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.922e-05/0.1083, allocations: 32.38 kB / 479.6 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007401/0.1091, allocations: 473 kB / 480.1 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1091, allocations: 192 / 480.1 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.625e-05/0.1091, allocations: 15.94 kB / 480.1 MB, free: 7.484 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.1091, allocations: 4 kB / 480.1 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006212/0.1098, allocations: 422.1 kB / 480.5 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.1124, allocations: 2.032 MB / 482.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008965/0.1133, allocations: 0.5179 MB / 483.1 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/0.1137, allocations: 280.8 kB / 483.3 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.814e-05/0.1138, allocations: 11.98 kB / 483.4 MB, free: 3.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.1139, allocations: 46.48 kB / 483.4 MB, free: 3.941 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.833e-06/0.1139, allocations: 0 / 483.4 MB, free: 3.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.006649/0.1205, allocations: 1.857 MB / 485.3 MB, free: 2.055 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.1206, allocations: 106.8 kB / 485.4 MB, free: 1.926 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.1209, allocations: 270.9 kB / 485.6 MB, free: 1.648 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.121, allocations: 37.7 kB / 485.7 MB, free: 1.605 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1211, allocations: 168.9 kB / 485.8 MB, free: 1.434 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.1213, allocations: 149.8 kB / 486 MB, free: 1.285 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.1213, allocations: 8 kB / 486 MB, free: 1.277 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1214, allocations: 338.8 kB / 486.3 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004361/0.1219, allocations: 293 kB / 486.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.1224, allocations: 348.6 kB / 486.9 MB, free: 308 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1891/0.3115, allocations: 0.6434 MB / 487.6 MB, free: 26.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3116, allocations: 0 / 487.6 MB, free: 26.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003931/0.3155, allocations: 1.284 MB / 488.9 MB, free: 26.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.3156, allocations: 5.469 kB / 488.9 MB, free: 26.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3156, allocations: 0 / 488.9 MB, free: 26.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003802/0.3194, allocations: 0.7905 MB / 489.7 MB, free: 26.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.3198, allocations: 86.48 kB / 489.7 MB, free: 26.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006752/0.3266, allocations: 3.818 MB / 493.6 MB, free: 23.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.327, allocations: 58.81 kB / 493.6 MB, free: 23.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.327, allocations: 18.39 kB / 493.6 MB, free: 23.61 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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.3272, allocations: 161 kB / 493.8 MB, free: 23.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.3273, allocations: 38.17 kB / 493.8 MB, free: 23.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/0.3309, allocations: 1.227 MB / 495.1 MB, free: 22.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.3309, allocations: 5.562 kB / 495.1 MB, free: 22.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.3309, allocations: 0 / 495.1 MB, free: 22.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3309, allocations: 3.672 kB / 495.1 MB, free: 22.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006127/0.3315, allocations: 0.5605 MB / 495.6 MB, free: 22.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3315, allocations: 0 / 495.6 MB, free: 22.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.3318, allocations: 62.41 kB / 495.7 MB, free: 22.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00345/0.3352, allocations: 0.7547 MB / 496.4 MB, free: 22.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.3353, allocations: 15.58 kB / 496.5 MB, free: 22.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006044/0.3413, allocations: 3.775 MB / 0.4885 GB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3413, allocations: 3.938 kB / 0.4885 GB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00337/0.3447, allocations: 1.238 MB / 0.4897 GB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.3448, allocations: 117.9 kB / 0.4898 GB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.3449, allocations: 11.95 kB / 0.4899 GB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.3452, allocations: 27.66 kB / 0.4899 GB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.3453, allocations: 41.89 kB / 0.4899 GB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.3454, allocations: 16.05 kB / 0.4899 GB, free: 19.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001954/0.3456, allocations: 191.7 kB / 0.4901 GB, free: 19.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3456, allocations: 4 kB / 0.4901 GB, free: 19.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009193/0.3465, allocations: 175.2 kB / 0.4903 GB, free: 19.03 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 (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002211/0.3467, allocations: 130 kB / 0.4904 GB, free: 18.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002298/0.349, allocations: 1.031 MB / 0.4914 GB, free: 18.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3491, allocations: 0 / 0.4914 GB, free: 18.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.3508, allocations: 0.665 MB / 0.4921 GB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.3512, allocations: 40.42 kB / 0.4921 GB, free: 18.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.3525, allocations: 0.9309 MB / 0.493 GB, free: 17.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.3528, allocations: 0.8054 MB / 0.4938 GB, free: 16.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.353, allocations: 47.16 kB / 0.4938 GB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.3531, allocations: 38.06 kB / 0.4939 GB, free: 16.77 MB / 314.7 MB Notification: Performance of SimCode: time 2e-07/0.3531, allocations: 0 / 0.4939 GB, free: 16.77 MB / 314.7 MB Notification: Performance of Templates: time 0.01494/0.3681, allocations: 10.77 MB / 0.5044 GB, free: 10.32 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1)