Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 176.4 kB / 16.12 MB, free: 5.688 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.388/1.388, allocations: 225.7 MB / 242.6 MB, free: 8.492 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.000844/0.0008436, allocations: 98.17 kB / 293.8 MB, free: 9.523 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.06911/0.06911, allocations: 8.1 MB / 353 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.000338, allocations: 8 kB / 416.2 MB, free: 56.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.109, allocations: 52.52 MB / 468.7 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.001538/0.1106, allocations: 1.031 MB / 469.8 MB, free: 2.566 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1128, allocations: 2.302 MB / 472.1 MB, free: 48 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.113, allocations: 4 kB / 472.1 MB, free: 44 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.1134, allocations: 99.59 kB / 472.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.1138, allocations: 79.58 kB / 472.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.116, allocations: 1.979 MB / 474.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.1164, allocations: 179.1 kB / 474.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.1166, allocations: 53.64 kB / 474.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.1167, allocations: 67.66 kB / 474.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.117, allocations: 99.59 kB / 474.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.117, allocations: 8 kB / 474.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.1175, allocations: 191.8 kB / 474.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.1175, allocations: 31.84 kB / 474.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.1177, allocations: 113.2 kB / 474.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005936/0.1183, allocations: 327.3 kB / 475.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1183, allocations: 0 / 475.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1183, allocations: 0 / 475.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1183, allocations: 0 / 475.3 MB, free: 12.55 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001854/0.1202, allocations: 0.655 MB / 475.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1202, allocations: 12.03 kB / 475.9 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.968e-05/0.1203, allocations: 16.75 kB / 475.9 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.1206, allocations: 232 kB / 476.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1207, allocations: 12.66 kB / 476.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.1207, allocations: 16.38 kB / 476.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.1211, allocations: 212.3 kB / 476.4 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1211, allocations: 192 / 476.4 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.1212, allocations: 7.938 kB / 476.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1212, allocations: 4 kB / 476.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.1215, allocations: 204.8 kB / 476.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.1229, allocations: 0.854 MB / 477.5 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007229/0.1236, allocations: 375.5 kB / 477.8 MB, free: 9.762 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.1238, allocations: 137.4 kB / 478 MB, free: 9.625 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.389e-05/0.1239, allocations: 11.98 kB / 478 MB, free: 9.613 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.1239, allocations: 30.56 kB / 478 MB, free: 9.574 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.014e-06/0.1239, allocations: 0 / 478 MB, free: 9.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.002136/0.1261, allocations: 0.729 MB / 478.7 MB, free: 8.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.1261, allocations: 55.34 kB / 478.8 MB, free: 8.754 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.1264, allocations: 182.2 kB / 479 MB, free: 8.566 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.1264, allocations: 33.64 kB / 479 MB, free: 8.527 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.555e-05/0.1265, allocations: 120.4 kB / 479.1 MB, free: 8.406 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.1266, allocations: 78.84 kB / 479.2 MB, free: 8.328 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.1266, allocations: 8 kB / 479.2 MB, free: 8.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1268, allocations: 334.8 kB / 479.5 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.127, allocations: 120 kB / 479.7 MB, free: 7.867 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.1272, allocations: 125.8 kB / 479.8 MB, free: 7.746 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.1276, allocations: 268.5 kB / 480 MB, free: 7.484 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1276, allocations: 0 / 480 MB, free: 7.484 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001033/0.1286, allocations: 485.8 kB / 480.5 MB, free: 7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.1287, allocations: 11.94 kB / 480.5 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1287, allocations: 4 kB / 480.5 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007793/0.1295, allocations: 176.6 kB / 480.7 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1296, allocations: 39.97 kB / 480.7 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/0.1329, allocations: 2.175 MB / 482.9 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.1331, allocations: 23.88 kB / 482.9 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.1331, allocations: 12 kB / 483 MB, free: 4.422 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 (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.1333, allocations: 137.7 kB / 483.1 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.1334, allocations: 15.81 kB / 483.1 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.1344, allocations: 469.2 kB / 483.6 MB, free: 3.797 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1345, allocations: 4 kB / 483.6 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.1345, allocations: 0 / 483.6 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1345, allocations: 3.984 kB / 483.6 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.1359, allocations: 0.8485 MB / 484.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.136, allocations: 0 / 484.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.628e-05/0.1361, allocations: 27.92 kB / 484.4 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007139/0.1368, allocations: 168.7 kB / 484.6 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.1368, allocations: 8 kB / 484.6 MB, free: 2.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/0.1395, allocations: 2.161 MB / 486.8 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/0.1395, allocations: 7.984 kB / 486.8 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2194/0.3589, allocations: 0.5076 MB / 487.3 MB, free: 26.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.3591, allocations: 101.2 kB / 487.4 MB, free: 26.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.3592, allocations: 5 kB / 487.4 MB, free: 26.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3594, allocations: 12.7 kB / 487.4 MB, free: 26.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-05/0.3595, allocations: 23.11 kB / 487.4 MB, free: 26.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.3595, allocations: 7.406 kB / 487.4 MB, free: 26.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000172/0.3597, allocations: 136.6 kB / 487.6 MB, free: 26.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.3597, allocations: 0 / 487.6 MB, free: 26.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000484/0.3602, allocations: 82.27 kB / 487.7 MB, free: 26.41 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 (16): * Single equations (assignments): 15 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002068/0.3604, allocations: 122 kB / 487.8 MB, free: 26.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.3615, allocations: 494.4 kB / 488.3 MB, free: 26.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3615, allocations: 1 kB / 488.3 MB, free: 26.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006819/0.3622, allocations: 332.8 kB / 488.6 MB, free: 26.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.3626, allocations: 22.64 kB / 488.6 MB, free: 26.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000804/0.3634, allocations: 0.4983 MB / 489.1 MB, free: 25.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.3636, allocations: 0.7332 MB / 489.8 MB, free: 25.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.3637, allocations: 23.42 kB / 489.9 MB, free: 25.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.3637, allocations: 20.39 kB / 489.9 MB, free: 25.13 MB / 314.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3638, allocations: 0 / 489.9 MB, free: 25.13 MB / 314.7 MB Notification: Performance of Templates: time 0.00967/0.3734, allocations: 4.389 MB / 494.3 MB, free: 24.9 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)