Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 173.7 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.369/1.369, allocations: 225.7 MB / 242.6 MB, free: 8.453 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.001415/0.001415, allocations: 90.86 kB / 293.8 MB, free: 9.496 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.05453/0.05453, allocations: 8.103 MB / 353 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 17.31 kB / 416.2 MB, free: 56.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09545/0.09578, allocations: 52.52 MB / 468.7 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.0009382/0.09676, allocations: 0.5479 MB / 469.3 MB, free: 3.012 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.09834, allocations: 1.945 MB / 471.2 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.09843, allocations: 0 / 471.2 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.09871, allocations: 55.77 kB / 471.3 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.09889, allocations: 43.83 kB / 471.3 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.0996, allocations: 0.6764 MB / 472 MB, free: 20 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.09974, allocations: 79.58 kB / 472.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.09986, allocations: 23.98 kB / 472.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.09992, allocations: 23.92 kB / 472.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1001, allocations: 35.84 kB / 472.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1001, allocations: 7.938 kB / 472.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.1003, allocations: 99.88 kB / 472.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.1003, allocations: 7.984 kB / 472.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.1004, allocations: 61.45 kB / 472.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.1006, allocations: 147.8 kB / 472.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1007, allocations: 0 / 472.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1007, allocations: 0 / 472.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1007, allocations: 4 kB / 472.5 MB, free: 15.53 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008875/0.1016, allocations: 427.2 kB / 472.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1016, allocations: 8.031 kB / 472.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.1017, allocations: 12.84 kB / 472.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.102, allocations: 176.2 kB / 473.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.102, allocations: 12.31 kB / 473.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.102, allocations: 4.375 kB / 473.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.1023, allocations: 106.2 kB / 473.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1023, allocations: 192 / 473.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.1023, allocations: 7.938 kB / 473.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1023, allocations: 4 kB / 473.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.1025, allocations: 63.97 kB / 473.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007478/0.1032, allocations: 384.6 kB / 473.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.1036, allocations: 114.6 kB / 473.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/0.1037, allocations: 32.84 kB / 473.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/0.1037, allocations: 0 / 473.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.1038, allocations: 34.56 kB / 473.8 MB, free: 14.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1038, allocations: 0 / 473.8 MB, free: 14.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006646/0.1045, allocations: 247.6 kB / 474.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.1045, allocations: 55.41 kB / 474.1 MB, free: 13.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.1047, allocations: 141.9 kB / 474.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1047, allocations: 25.7 kB / 474.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.1048, allocations: 99.95 kB / 474.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.1048, allocations: 27.64 kB / 474.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-06/0.1048, allocations: 0 / 474.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1049, allocations: 322.8 kB / 474.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.333e-05/0.105, allocations: 27.98 kB / 474.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.922e-05/0.1051, allocations: 31.98 kB / 474.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1052, allocations: 76.78 kB / 474.9 MB, free: 12.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1052, allocations: 0 / 474.9 MB, free: 12.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002995/0.1055, allocations: 142.6 kB / 475 MB, free: 12.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1055, allocations: 4 kB / 475 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1055, allocations: 3.938 kB / 475 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/0.1058, allocations: 44.77 kB / 475.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.112e-05/0.1059, allocations: 15.98 kB / 475.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.107, allocations: 1.335 MB / 476.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.1071, allocations: 7.844 kB / 476.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1071, allocations: 8.031 kB / 476.4 MB, free: 11.19 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 (9): * Single equations (assignments): 8 * 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 9.816e-05/0.1072, allocations: 125.8 kB / 476.5 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.1072, allocations: 7.906 kB / 476.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.1075, allocations: 126.9 kB / 476.7 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1075, allocations: 0 / 476.7 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1075, allocations: 0 / 476.7 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1076, allocations: 0 / 476.7 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.1078, allocations: 209.5 kB / 476.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1078, allocations: 0 / 476.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.1078, allocations: 8 kB / 476.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001484/0.108, allocations: 40.83 kB / 476.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.108, allocations: 4 kB / 476.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009502/0.1089, allocations: 1.335 MB / 478.3 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.109, allocations: 3.938 kB / 478.3 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.1092, allocations: 208.2 kB / 478.5 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.1093, allocations: 88.95 kB / 478.6 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.1093, allocations: 3.938 kB / 478.6 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1094, allocations: 12.08 kB / 478.6 MB, free: 8.789 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.1095, allocations: 8 kB / 478.6 MB, free: 8.781 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1095, allocations: 4 kB / 478.6 MB, free: 8.777 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.129e-05/0.1096, allocations: 111.2 kB / 478.7 MB, free: 8.668 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1096, allocations: 0 / 478.7 MB, free: 8.668 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.1098, allocations: 28 kB / 478.7 MB, free: 8.641 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 (6): * Single equations (assignments): 5 * 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.0001903/0.11, allocations: 111.9 kB / 478.8 MB, free: 8.523 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.1104, allocations: 198.6 kB / 479 MB, free: 8.316 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1104, allocations: 4 kB / 479 MB, free: 8.312 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.1106, allocations: 146.7 kB / 479.2 MB, free: 8.156 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.1109, allocations: 15.88 kB / 479.2 MB, free: 8.141 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.1113, allocations: 270.1 kB / 479.5 MB, free: 7.852 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.1116, allocations: 0.6926 MB / 480.2 MB, free: 7.133 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.543e-05/0.1116, allocations: 12.66 kB / 480.2 MB, free: 7.121 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.1117, allocations: 15.38 kB / 480.2 MB, free: 7.105 MB / 314.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1117, allocations: 0 / 480.2 MB, free: 7.105 MB / 314.7 MB Notification: Performance of Templates: time 0.003854/0.1155, allocations: 1.417 MB / 481.6 MB, free: 5.691 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)