Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") translateModel(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 171.3 kB / 16.12 MB, free: 5.691 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.447/1.447, allocations: 225.7 MB / 242.6 MB, free: 8.523 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.0008147/0.0008148, allocations: 97.48 kB / 293.8 MB, free: 9.543 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.05191/0.05191, allocations: 8.097 MB / 353 MB, free: 14.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003688, allocations: 8.5 kB / 416.2 MB, free: 56.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.0904, allocations: 52.54 MB / 468.7 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.001451/0.09191, allocations: 1.42 MB / 470.2 MB, free: 2.188 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.09367, allocations: 2.266 MB / 472.4 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.412e-05/0.09378, allocations: 4 kB / 472.4 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.09419, allocations: 123.5 kB / 472.5 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.09453, allocations: 127.3 kB / 472.7 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.09626, allocations: 1.711 MB / 474.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003903/0.09666, allocations: 298.4 kB / 474.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.09687, allocations: 98.12 kB / 474.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.09698, allocations: 107.5 kB / 474.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.09715, allocations: 139.4 kB / 475 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.09719, allocations: 12 kB / 475 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003133/0.09751, allocations: 159.9 kB / 475.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.09757, allocations: 51.7 kB / 475.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.09774, allocations: 149 kB / 475.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.0982, allocations: 414.8 kB / 475.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.09822, allocations: 0 / 475.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.09823, allocations: 0 / 475.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.09824, allocations: 0 / 475.8 MB, free: 12.11 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002764/0.101, allocations: 0.9126 MB / 476.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.1011, allocations: 8.031 kB / 476.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/0.1012, allocations: 32.56 kB / 476.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.1015, allocations: 263.9 kB / 477 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.1015, allocations: 20.81 kB / 477 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.1016, allocations: 24.38 kB / 477 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000577/0.1021, allocations: 343.7 kB / 477.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1022, allocations: 192 / 477.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.1022, allocations: 15.94 kB / 477.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1022, allocations: 8 kB / 477.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000521/0.1028, allocations: 333.6 kB / 477.7 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.1044, allocations: 1.033 MB / 478.8 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/0.1049, allocations: 398.4 kB / 479.1 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.1053, allocations: 224.8 kB / 479.4 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.868e-05/0.1053, allocations: 4 kB / 479.4 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.1054, allocations: 42.5 kB / 479.4 MB, free: 8.312 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.1054, allocations: 0 / 479.4 MB, free: 8.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.002354/0.1077, allocations: 1.052 MB / 480.5 MB, free: 7.191 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.1078, allocations: 55.34 kB / 480.5 MB, free: 7.125 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.108, allocations: 235 kB / 480.7 MB, free: 6.883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.108, allocations: 33.7 kB / 480.8 MB, free: 6.844 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.955e-05/0.1082, allocations: 140.7 kB / 480.9 MB, free: 6.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.672e-05/0.1083, allocations: 122.1 kB / 481 MB, free: 6.582 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1083, allocations: 12 kB / 481 MB, free: 6.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1084, allocations: 338.8 kB / 481.4 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.1088, allocations: 228.8 kB / 481.6 MB, free: 6.008 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.1091, allocations: 239.9 kB / 481.8 MB, free: 5.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/0.1098, allocations: 0.5054 MB / 482.3 MB, free: 5.262 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1098, allocations: 4 kB / 482.3 MB, free: 5.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001311/0.1112, allocations: 0.7091 MB / 483 MB, free: 4.535 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1112, allocations: 11.92 kB / 483.1 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1112, allocations: 4 kB / 483.1 MB, free: 4.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00066/0.1119, allocations: 158.4 kB / 483.2 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.1123, allocations: 79.89 kB / 483.3 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2002/0.3125, allocations: 4.288 MB / 487.6 MB, free: 25.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.3129, allocations: 37.67 kB / 487.6 MB, free: 25.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/0.313, allocations: 18.59 kB / 487.6 MB, free: 25.64 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 (50): * Single equations (assignments): 47 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002573/0.3133, allocations: 147.7 kB / 487.8 MB, free: 25.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.87e-05/0.3134, allocations: 26.28 kB / 487.8 MB, free: 25.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.315, allocations: 0.5913 MB / 488.4 MB, free: 25.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.315, allocations: 4.531 kB / 488.4 MB, free: 25.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.315, allocations: 3.969 kB / 488.4 MB, free: 25.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.315, allocations: 2.672 kB / 488.4 MB, free: 25.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006625/0.3157, allocations: 462.5 kB / 488.9 MB, free: 25.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.3157, allocations: 0.9688 kB / 488.9 MB, free: 25.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.316, allocations: 52.14 kB / 488.9 MB, free: 25.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006537/0.3166, allocations: 152.2 kB / 489.1 MB, free: 25.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.3167, allocations: 10.3 kB / 489.1 MB, free: 25.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003311/0.32, allocations: 4.296 MB / 493.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.32, allocations: 0 / 493.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.3212, allocations: 0.6357 MB / 494 MB, free: 20.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.3212, allocations: 109.7 kB / 494.1 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.3213, allocations: 11.7 kB / 494.1 MB, free: 20.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.3215, allocations: 7.25 kB / 494.1 MB, free: 20.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/0.3216, allocations: 23.25 kB / 494.2 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.3216, allocations: 7.281 kB / 494.2 MB, free: 20.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.3218, allocations: 168 kB / 494.3 MB, free: 20.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3218, allocations: 0 / 494.3 MB, free: 20.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000561/0.3224, allocations: 119 kB / 494.4 MB, free: 20.72 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 (32): * Single equations (assignments): 29 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.0002615/0.3226, allocations: 128.5 kB / 494.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.3242, allocations: 0.8741 MB / 495.4 MB, free: 20.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3242, allocations: 0 / 495.4 MB, free: 20.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008977/0.3251, allocations: 0.58 MB / 496 MB, free: 19.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3254, allocations: 22.33 kB / 496 MB, free: 19.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.3265, allocations: 0.6738 MB / 496.7 MB, free: 19.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.3268, allocations: 0.7557 MB / 497.5 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.327, allocations: 41.84 kB / 497.5 MB, free: 18.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.173e-05/0.3271, allocations: 28.39 kB / 497.5 MB, free: 18.46 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3271, allocations: 3.656 kB / 497.5 MB, free: 18.46 MB / 314.7 MB Notification: Performance of Templates: time 0.01119/0.3383, allocations: 4.426 MB / 0.4902 GB, free: 18.16 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)