Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009361/0.0009363, allocations: 172.8 kB / 16.12 MB, free: 5.566 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.501/1.501, allocations: 225.7 MB / 242.6 MB, free: 10.18 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.0008282/0.0008284, allocations: 93.23 kB / 293.8 MB, free: 9.699 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.04244/0.04244, allocations: 8.1 MB / 353 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 8 kB / 416.2 MB, free: 56.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09098/0.09132, allocations: 52.53 MB / 468.7 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.001515/0.09289, allocations: 1.187 MB / 469.9 MB, free: 2.375 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.09498, allocations: 2.314 MB / 472.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.981e-05/0.09509, allocations: 4 kB / 472.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.09542, allocations: 115.6 kB / 472.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.09568, allocations: 95.44 kB / 472.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.09762, allocations: 1.971 MB / 474.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.09794, allocations: 234.8 kB / 474.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.0981, allocations: 64.23 kB / 474.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.224e-05/0.0982, allocations: 91.62 kB / 474.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.09841, allocations: 111.5 kB / 474.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.09844, allocations: 8 kB / 474.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.09879, allocations: 195.8 kB / 475.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.09884, allocations: 35.78 kB / 475.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.09897, allocations: 129.2 kB / 475.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.09943, allocations: 375 kB / 475.6 MB, free: 12.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.09945, allocations: 4 kB / 475.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09946, allocations: 0 / 475.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.09947, allocations: 0 / 475.6 MB, free: 12.14 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002203/0.1017, allocations: 0.78 MB / 476.4 MB, free: 11.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1017, allocations: 12.03 kB / 476.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.1018, allocations: 24.66 kB / 476.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.1021, allocations: 257.7 kB / 476.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.1021, allocations: 16.7 kB / 476.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.1022, allocations: 16.38 kB / 476.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.1026, allocations: 256.4 kB / 477 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1026, allocations: 192 / 477 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.1026, allocations: 7.938 kB / 477 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1026, allocations: 4 kB / 477 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.103, allocations: 255.8 kB / 477.3 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.1045, allocations: 1.133 MB / 478.4 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006575/0.1052, allocations: 306.5 kB / 478.7 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.1054, allocations: 156.8 kB / 478.8 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.219e-05/0.1055, allocations: 8.422 kB / 478.8 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.1055, allocations: 34.56 kB / 478.9 MB, free: 8.668 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.1055, allocations: 0 / 478.9 MB, free: 8.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.002966/0.1085, allocations: 0.9612 MB / 479.8 MB, free: 7.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.1085, allocations: 63.39 kB / 479.9 MB, free: 7.605 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1087, allocations: 192.4 kB / 480.1 MB, free: 7.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.1088, allocations: 29.7 kB / 480.1 MB, free: 7.375 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.1089, allocations: 136.4 kB / 480.3 MB, free: 7.238 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.035e-05/0.109, allocations: 82.75 kB / 480.3 MB, free: 7.156 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/0.109, allocations: 4 kB / 480.3 MB, free: 7.152 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1091, allocations: 330.8 kB / 480.7 MB, free: 6.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.1094, allocations: 152 kB / 480.8 MB, free: 6.672 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.1096, allocations: 164.1 kB / 481 MB, free: 6.512 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.1101, allocations: 345.8 kB / 481.3 MB, free: 6.168 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1101, allocations: 4 kB / 481.3 MB, free: 6.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001475/0.1116, allocations: 0.6465 MB / 482 MB, free: 5.508 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1116, allocations: 7.938 kB / 482 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1116, allocations: 0 / 482 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.113, allocations: 320.5 kB / 482.3 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.1132, allocations: 47.97 kB / 482.3 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003839/0.117, allocations: 2.554 MB / 484.9 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.1173, allocations: 19.78 kB / 484.9 MB, free: 2.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.1173, allocations: 8 kB / 484.9 MB, free: 2.426 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 (27): * Single equations (assignments): 26 * 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 {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.1175, allocations: 141.7 kB / 485 MB, free: 2.277 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.1175, allocations: 31.72 kB / 485.1 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.1191, allocations: 0.613 MB / 485.7 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1191, allocations: 4 kB / 485.7 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.1191, allocations: 0 / 485.7 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1191, allocations: 0 / 485.7 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.1196, allocations: 397 kB / 486.1 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1196, allocations: 4.125 kB / 486.1 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.1197, allocations: 31.92 kB / 486.1 MB, free: 1.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.121, allocations: 312.5 kB / 486.4 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.1211, allocations: 4 kB / 486.4 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.204/0.3251, allocations: 2.506 MB / 488.9 MB, free: 25.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3251, allocations: 0.6562 kB / 488.9 MB, free: 25.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.3269, allocations: 0.6696 MB / 489.6 MB, free: 25.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.3271, allocations: 97.58 kB / 489.7 MB, free: 25.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.3271, allocations: 5.828 kB / 489.7 MB, free: 25.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.3274, allocations: 13.34 kB / 489.7 MB, free: 25.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3275, allocations: 22.88 kB / 489.7 MB, free: 25.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.3275, allocations: 6.797 kB / 489.7 MB, free: 25.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.3277, allocations: 145.9 kB / 489.9 MB, free: 25.31 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3277, allocations: 0 / 489.9 MB, free: 25.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005785/0.3283, allocations: 101.3 kB / 490 MB, free: 25.3 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 (20): * Single equations (assignments): 19 * 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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002859/0.3286, allocations: 126.3 kB / 490.1 MB, free: 25.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001751/0.3304, allocations: 0.6115 MB / 490.7 MB, free: 24.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.3304, allocations: 0 / 490.7 MB, free: 24.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.3314, allocations: 429.4 kB / 491.1 MB, free: 24.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.3318, allocations: 25.73 kB / 491.2 MB, free: 24.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009804/0.3328, allocations: 0.579 MB / 491.7 MB, free: 24.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.3331, allocations: 0.7417 MB / 492.5 MB, free: 23.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.3332, allocations: 34.53 kB / 492.5 MB, free: 23.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/0.3333, allocations: 29.27 kB / 492.5 MB, free: 23.59 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3333, allocations: 0 / 492.5 MB, free: 23.59 MB / 314.7 MB Notification: Performance of Templates: time 0.01243/0.3458, allocations: 5.455 MB / 498 MB, free: 23.14 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)