Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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.ExampleWithFMUs.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 173.4 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.418/1.418, allocations: 225.7 MB / 242.6 MB, free: 8.461 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.000787/0.000787, allocations: 98.81 kB / 293.8 MB, free: 9.504 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.04246/0.04246, allocations: 8.104 MB / 353 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004496, allocations: 9.125 kB / 416.2 MB, free: 56.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1022, allocations: 52.51 MB / 468.7 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.001807/0.104, allocations: 1.679 MB / 470.4 MB, free: 1.895 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1061, allocations: 2.31 MB / 472.7 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1062, allocations: 8 kB / 472.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.1066, allocations: 123.5 kB / 472.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.107, allocations: 135.2 kB / 473 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.1097, allocations: 2.36 MB / 475.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.1102, allocations: 302.5 kB / 475.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.1105, allocations: 88.12 kB / 475.7 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1107, allocations: 111.5 kB / 475.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.1109, allocations: 147.3 kB / 476 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.1109, allocations: 12 kB / 476 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000491/0.1114, allocations: 223.8 kB / 476.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.1115, allocations: 51.77 kB / 476.3 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.1117, allocations: 168.9 kB / 476.4 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006011/0.1123, allocations: 466.5 kB / 476.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.1123, allocations: 0 / 476.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1123, allocations: 7.938 kB / 476.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1123, allocations: 0 / 476.9 MB, free: 10.86 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.003715/0.1161, allocations: 1.08 MB / 478 MB, free: 9.723 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.1161, allocations: 8.031 kB / 478 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.1162, allocations: 36.56 kB / 478 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.1166, allocations: 283.7 kB / 478.3 MB, free: 9.363 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.1166, allocations: 28.94 kB / 478.3 MB, free: 9.332 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.1167, allocations: 24.38 kB / 478.3 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006403/0.1173, allocations: 381.1 kB / 478.7 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1174, allocations: 4.172 kB / 478.7 MB, free: 8.922 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.1174, allocations: 7.938 kB / 478.7 MB, free: 8.914 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1174, allocations: 8 kB / 478.7 MB, free: 8.906 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004785/0.1179, allocations: 310.1 kB / 479 MB, free: 8.605 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.12, allocations: 1.454 MB / 480.5 MB, free: 7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.121, allocations: 414.6 kB / 480.9 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.1213, allocations: 180.8 kB / 481.1 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.053e-05/0.1214, allocations: 11.97 kB / 481.1 MB, free: 6.391 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.1214, allocations: 38.56 kB / 481.1 MB, free: 6.344 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.1214, allocations: 0 / 481.1 MB, free: 6.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.004106/0.1255, allocations: 1.238 MB / 482.3 MB, free: 5.059 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.1256, allocations: 106.8 kB / 482.5 MB, free: 4.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.1259, allocations: 224 kB / 482.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.1259, allocations: 41.7 kB / 482.7 MB, free: 4.648 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.662e-05/0.126, allocations: 152.5 kB / 482.9 MB, free: 4.496 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.968e-05/0.1261, allocations: 102.5 kB / 483 MB, free: 4.395 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.1261, allocations: 8 kB / 483 MB, free: 4.387 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1263, allocations: 334.8 kB / 483.3 MB, free: 4.051 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.1266, allocations: 200.8 kB / 483.5 MB, free: 3.855 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.1269, allocations: 252.2 kB / 483.7 MB, free: 3.594 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/0.1276, allocations: 465.1 kB / 484.2 MB, free: 3.133 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1276, allocations: 7.938 kB / 484.2 MB, free: 3.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00226/0.1299, allocations: 0.8329 MB / 485 MB, free: 2.281 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1299, allocations: 11.94 kB / 485 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1299, allocations: 4 kB / 485.1 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002139/0.1321, allocations: 445.2 kB / 485.5 MB, free: 1.824 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.1324, allocations: 71.89 kB / 485.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2183/0.3508, allocations: 3.823 MB / 489.4 MB, free: 24.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.3512, allocations: 43.84 kB / 489.4 MB, free: 24.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.3513, allocations: 17.12 kB / 489.4 MB, free: 24.02 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.3515, allocations: 151.7 kB / 489.6 MB, free: 23.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/0.3515, allocations: 28.69 kB / 489.6 MB, free: 23.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.3539, allocations: 0.7827 MB / 490.4 MB, free: 23.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3539, allocations: 3.781 kB / 490.4 MB, free: 23.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3539, allocations: 2.469 kB / 490.4 MB, free: 23.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3539, allocations: 1.922 kB / 490.4 MB, free: 23.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.3544, allocations: 435.9 kB / 490.8 MB, free: 23.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3544, allocations: 2.719 kB / 490.8 MB, free: 23.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.3546, allocations: 42.05 kB / 490.9 MB, free: 23.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002095/0.3567, allocations: 444.2 kB / 491.3 MB, free: 23.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.3568, allocations: 15.62 kB / 491.3 MB, free: 23.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004362/0.3611, allocations: 3.826 MB / 495.1 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.3612, allocations: 0.75 kB / 495.1 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.3633, allocations: 0.8132 MB / 496 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.512e-05/0.3634, allocations: 106.6 kB / 496.1 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.3635, allocations: 6.094 kB / 496.1 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.3637, allocations: 19.58 kB / 496.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3639, allocations: 24.67 kB / 496.1 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.3639, allocations: 12.59 kB / 496.1 MB, free: 19.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.364, allocations: 157.3 kB / 496.3 MB, free: 19.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3641, allocations: 4 kB / 496.3 MB, free: 19.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006453/0.3647, allocations: 131.2 kB / 496.4 MB, free: 19.68 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002198/0.3649, allocations: 127.4 kB / 496.5 MB, free: 19.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.3667, allocations: 0.8046 MB / 497.3 MB, free: 19.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.3667, allocations: 0 / 497.3 MB, free: 19.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.368, allocations: 0.5546 MB / 497.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.3683, allocations: 24.28 kB / 497.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.3693, allocations: 0.7108 MB / 498.6 MB, free: 18.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.3696, allocations: 0.7669 MB / 499.4 MB, free: 17.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.3697, allocations: 36.95 kB / 499.4 MB, free: 17.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.3698, allocations: 29.22 kB / 499.5 MB, free: 17.59 MB / 314.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3698, allocations: 0 / 499.5 MB, free: 17.59 MB / 314.7 MB Notification: Performance of Templates: time 0.01234/0.3822, allocations: 6.256 MB / 0.4939 GB, free: 16.29 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)