Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 182.6 kB / 16.13 MB, free: 5.246 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.412/1.412, allocations: 225.7 MB / 242.6 MB, free: 8.484 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.0007695/0.0007694, allocations: 90.23 kB / 293.8 MB, free: 9.508 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.04637/0.04637, allocations: 8.095 MB / 353 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003618, allocations: 11.98 kB / 416.2 MB, free: 56.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09811/0.09849, allocations: 52.51 MB / 468.7 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.002133/0.1007, allocations: 1.787 MB / 470.5 MB, free: 1.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002724/0.1034, allocations: 2.466 MB / 473 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.1036, allocations: 4 kB / 473 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.104, allocations: 131.4 kB / 473.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004103/0.1044, allocations: 171 kB / 473.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.1066, allocations: 2.029 MB / 475.3 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005254/0.1071, allocations: 402 kB / 475.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.1074, allocations: 107.8 kB / 475.8 MB, free: 12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.1075, allocations: 155.3 kB / 475.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.1078, allocations: 199.1 kB / 476.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.1079, allocations: 16 kB / 476.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004/0.1083, allocations: 199.8 kB / 476.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.1083, allocations: 67.62 kB / 476.4 MB, free: 11.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.1085, allocations: 200.7 kB / 476.6 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005938/0.1091, allocations: 0.5219 MB / 477.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1091, allocations: 4 kB / 477.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1091, allocations: 0 / 477.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1092, allocations: 0 / 477.1 MB, free: 10.64 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003406/0.1126, allocations: 1.088 MB / 478.2 MB, free: 9.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1126, allocations: 12.03 kB / 478.2 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.1128, allocations: 40.47 kB / 478.3 MB, free: 9.449 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.1133, allocations: 323.5 kB / 478.6 MB, free: 9.094 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.1133, allocations: 24.94 kB / 478.6 MB, free: 9.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.1134, allocations: 28.38 kB / 478.6 MB, free: 9.043 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007142/0.1141, allocations: 417.3 kB / 479.1 MB, free: 8.629 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1142, allocations: 192 / 479.1 MB, free: 8.629 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-05/0.1142, allocations: 15.94 kB / 479.1 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1142, allocations: 7.984 kB / 479.1 MB, free: 8.605 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006348/0.1149, allocations: 414.1 kB / 479.5 MB, free: 8.199 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.1171, allocations: 1.557 MB / 481 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.1182, allocations: 0.5436 MB / 481.6 MB, free: 5.961 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.1186, allocations: 281.5 kB / 481.9 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.24e-05/0.1187, allocations: 24.34 kB / 481.9 MB, free: 5.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.1187, allocations: 38.94 kB / 481.9 MB, free: 5.613 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 2.495e-06/0.1187, allocations: 0 / 481.9 MB, free: 5.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.004366/0.1231, allocations: 1.631 MB / 483.6 MB, free: 3.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.1231, allocations: 55.41 kB / 483.6 MB, free: 3.844 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.1235, allocations: 278.5 kB / 483.9 MB, free: 3.555 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.1235, allocations: 41.64 kB / 483.9 MB, free: 3.508 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1236, allocations: 160.9 kB / 484.1 MB, free: 3.348 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.1238, allocations: 157.8 kB / 484.2 MB, free: 3.191 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.1238, allocations: 8 kB / 484.2 MB, free: 3.184 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1239, allocations: 346.8 kB / 484.6 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.1243, allocations: 253 kB / 484.8 MB, free: 2.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.1248, allocations: 273 kB / 485.1 MB, free: 2.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008382/0.1256, allocations: 0.5896 MB / 485.7 MB, free: 1.734 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1256, allocations: 0 / 485.7 MB, free: 1.734 MB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002265/0.1279, allocations: 1.016 MB / 486.7 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.1279, allocations: 4 kB / 486.7 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1279, allocations: 0 / 486.7 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/0.1297, allocations: 434.1 kB / 487.1 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.13, allocations: 71.89 kB / 487.2 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.21/0.34, allocations: 5.656 MB / 492.9 MB, free: 22.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.3404, allocations: 44.97 kB / 492.9 MB, free: 22.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.3404, allocations: 17.09 kB / 492.9 MB, free: 22.34 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001788/0.3406, allocations: 159.7 kB / 493.1 MB, free: 22.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.3407, allocations: 36.97 kB / 493.1 MB, free: 22.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/0.3431, allocations: 0.9952 MB / 494.1 MB, free: 21.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3431, allocations: 5.5 kB / 494.1 MB, free: 21.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3431, allocations: 0 / 494.1 MB, free: 21.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.3432, allocations: 7.609 kB / 494.1 MB, free: 21.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005821/0.3437, allocations: 0.5683 MB / 494.7 MB, free: 21.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3438, allocations: 0 / 494.7 MB, free: 21.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.3439, allocations: 58.98 kB / 494.7 MB, free: 21.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/0.3456, allocations: 425.2 kB / 495.2 MB, free: 21.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.3457, allocations: 7.703 kB / 495.2 MB, free: 21.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005179/0.3509, allocations: 5.593 MB / 0.489 GB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3509, allocations: 3.938 kB / 0.489 GB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.3532, allocations: 1.013 MB / 0.49 GB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.3533, allocations: 122.3 kB / 0.4901 GB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.3533, allocations: 6.734 kB / 0.4901 GB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.3537, allocations: 36.75 kB / 0.4902 GB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.3538, allocations: 49.56 kB / 0.4902 GB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.3539, allocations: 15.8 kB / 0.4902 GB, free: 15.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002385/0.3541, allocations: 195.9 kB / 0.4904 GB, free: 15.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3541, allocations: 0 / 0.4904 GB, free: 15.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007664/0.3549, allocations: 167 kB / 0.4906 GB, free: 15.58 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000242/0.3552, allocations: 129.4 kB / 0.4907 GB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.357, allocations: 1.077 MB / 0.4918 GB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.357, allocations: 4 kB / 0.4918 GB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.3582, allocations: 0.7623 MB / 0.4925 GB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.3587, allocations: 47.89 kB / 0.4925 GB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3599, allocations: 0.8943 MB / 0.4934 GB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.3601, allocations: 0.8057 MB / 0.4942 GB, free: 13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.3603, allocations: 52.19 kB / 0.4943 GB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.3604, allocations: 35.7 kB / 0.4943 GB, free: 12.97 MB / 314.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3604, allocations: 0 / 0.4943 GB, free: 12.97 MB / 314.7 MB Notification: Performance of Templates: time 0.01498/0.3754, allocations: 9.935 MB / 0.504 GB, free: 9.441 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)