Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001222, allocations: 182.2 kB / 16.13 MB, free: 5.195 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.445/1.445, allocations: 225.7 MB / 242.6 MB, free: 200 kB / 186.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.0007813/0.0007814, allocations: 93.89 kB / 293.8 MB, free: 12.85 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.0463/0.0463, allocations: 8.103 MB / 353 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 10.11 kB / 416.2 MB, free: 89.1 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 52.53 MB / 468.7 MB, free: 40.67 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.002753/0.1038, allocations: 3.221 MB / 472 MB, free: 37.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002801/0.1066, allocations: 2.731 MB / 474.7 MB, free: 34.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003074/0.107, allocations: 8 kB / 474.7 MB, free: 34.49 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.1074, allocations: 195.1 kB / 474.9 MB, free: 34.3 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006809/0.1081, allocations: 342.1 kB / 475.2 MB, free: 33.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.1103, allocations: 2.745 MB / 478 MB, free: 30.84 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008203/0.1111, allocations: 0.7424 MB / 478.7 MB, free: 30.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.1114, allocations: 218.2 kB / 478.9 MB, free: 29.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.1117, allocations: 294.8 kB / 479.2 MB, free: 29.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.112, allocations: 394.2 kB / 479.6 MB, free: 29.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.395e-05/0.1121, allocations: 36 kB / 479.6 MB, free: 29.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.1126, allocations: 255.8 kB / 479.9 MB, free: 28.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.202e-05/0.1127, allocations: 131.3 kB / 480 MB, free: 28.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.113, allocations: 367.8 kB / 480.4 MB, free: 28.42 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007169/0.1137, allocations: 0.8913 MB / 481.3 MB, free: 27.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1137, allocations: 0 / 481.3 MB, free: 27.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1137, allocations: 0 / 481.3 MB, free: 27.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1137, allocations: 0 / 481.3 MB, free: 27.52 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006844/0.1206, allocations: 2.023 MB / 483.3 MB, free: 25.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1206, allocations: 16.03 kB / 483.3 MB, free: 25.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.1209, allocations: 84 kB / 483.4 MB, free: 25.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.1214, allocations: 477.7 kB / 483.8 MB, free: 24.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.1214, allocations: 45.38 kB / 483.9 MB, free: 24.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/0.1215, allocations: 60.38 kB / 483.9 MB, free: 24.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.1227, allocations: 0.8314 MB / 484.8 MB, free: 23.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1227, allocations: 192 / 484.8 MB, free: 23.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/0.1228, allocations: 23.94 kB / 484.8 MB, free: 23.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1228, allocations: 16 kB / 484.8 MB, free: 23.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009737/0.1238, allocations: 0.777 MB / 485.6 MB, free: 23.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003588/0.1273, allocations: 3.362 MB / 489 MB, free: 19.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.1288, allocations: 1.356 MB / 490.3 MB, free: 17.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006369/0.1294, allocations: 0.5818 MB / 490.9 MB, free: 17.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.1295, allocations: 28.97 kB / 490.9 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.1296, allocations: 51.48 kB / 491 MB, free: 17.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=89): time 2.425e-06/0.1296, allocations: 0 / 491 MB, free: 17.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.01314/0.1427, allocations: 3.934 MB / 494.9 MB, free: 13.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.1428, allocations: 115.8 kB / 495 MB, free: 13.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.1434, allocations: 429.7 kB / 495.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.1435, allocations: 49.7 kB / 495.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1437, allocations: 241.3 kB / 495.7 MB, free: 12.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.1439, allocations: 299.5 kB / 496 MB, free: 12.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.1439, allocations: 24 kB / 496 MB, free: 12.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.144, allocations: 366.8 kB / 496.4 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006611/0.1447, allocations: 0.533 MB / 496.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007071/0.1454, allocations: 0.6107 MB / 497.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.1468, allocations: 1.205 MB / 498.7 MB, free: 9.422 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1469, allocations: 0 / 498.7 MB, free: 9.422 MB / 330.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005618/0.1525, allocations: 2.382 MB / 0.4894 GB, free: 7.027 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.1525, allocations: 8 kB / 0.4894 GB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1525, allocations: 0 / 0.4894 GB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005982/0.1585, allocations: 1.769 MB / 0.4911 GB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/0.1591, allocations: 151.8 kB / 0.4913 GB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.1702, allocations: 6.707 MB / 0.4978 GB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008774/0.1711, allocations: 91.2 kB / 0.4979 GB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.432e-05/0.1712, allocations: 35.98 kB / 0.4979 GB, free: 14.13 MB / 346.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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003484/0.1716, allocations: 202.5 kB / 0.4981 GB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.1717, allocations: 67.16 kB / 0.4982 GB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0061/0.1778, allocations: 2.324 MB / 0.5005 GB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.1779, allocations: 15.94 kB / 0.5005 GB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1779, allocations: 4 kB / 0.5005 GB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.1779, allocations: 7.969 kB / 0.5005 GB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007181/0.1851, allocations: 3.324 MB / 0.5037 GB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.1851, allocations: 0 / 0.5037 GB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.1855, allocations: 111.9 kB / 0.5038 GB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006332/0.1918, allocations: 1.507 MB / 0.5053 GB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.192, allocations: 19.98 kB / 0.5053 GB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/0.2048, allocations: 6.574 MB / 0.5118 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2049, allocations: 4 kB / 0.5118 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006147/0.211, allocations: 2.279 MB / 0.514 GB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.2113, allocations: 152 kB / 0.5141 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.2114, allocations: 20 kB / 0.5141 GB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006836/0.2121, allocations: 67.95 kB / 0.5142 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003227/0.2125, allocations: 76.83 kB / 0.5143 GB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.832e-05/0.2126, allocations: 32 kB / 0.5143 GB, free: 13.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003999/0.213, allocations: 291.1 kB / 0.5146 GB, free: 12.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.213, allocations: 3.938 kB / 0.5146 GB, free: 12.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001138/0.2141, allocations: 343.8 kB / 0.5149 GB, free: 12.45 MB / 362.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 (66): * Single equations (assignments): 65 * 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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002966/0.2144, allocations: 143.7 kB / 0.5151 GB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004413/0.2189, allocations: 1.923 MB / 0.5169 GB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.2189, allocations: 0 / 0.5169 GB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003134/0.222, allocations: 1.248 MB / 0.5182 GB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006805/0.2227, allocations: 81.94 kB / 0.5182 GB, free: 9.023 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.2251, allocations: 1.655 MB / 0.5198 GB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/0.2256, allocations: 0.922 MB / 0.5207 GB, free: 6.391 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003522/0.226, allocations: 92.78 kB / 0.5208 GB, free: 6.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.2261, allocations: 67.41 kB / 0.5209 GB, free: 6.23 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2261, allocations: 0 / 0.5209 GB, free: 6.23 MB / 362.7 MB Notification: Performance of Templates: time 0.2319/0.458, allocations: 20.71 MB / 0.5411 GB, free: 61.93 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)