Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 170.8 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.345/1.345, allocations: 225.7 MB / 242.6 MB, free: 10.19 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.0008346/0.0008348, allocations: 90.7 kB / 293.8 MB, free: 9.73 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.05228/0.05228, allocations: 8.096 MB / 353 MB, free: 14.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 8.5 kB / 416.2 MB, free: 56.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1019, allocations: 52.51 MB / 468.7 MB, free: 3.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.002728/0.1047, allocations: 3.12 MB / 471.8 MB, free: 488 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003035/0.1078, allocations: 2.594 MB / 474.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.108, allocations: 12 kB / 474.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.1085, allocations: 175.2 kB / 474.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006419/0.1091, allocations: 294.3 kB / 474.9 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.1119, allocations: 2.718 MB / 477.6 MB, free: 10.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009388/0.1129, allocations: 0.6725 MB / 478.3 MB, free: 9.426 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003774/0.1133, allocations: 214.2 kB / 478.5 MB, free: 9.207 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.1135, allocations: 258.9 kB / 478.8 MB, free: 8.953 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/0.1139, allocations: 346.4 kB / 479.1 MB, free: 8.613 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.472e-05/0.114, allocations: 32 kB / 479.1 MB, free: 8.582 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005364/0.1146, allocations: 259.8 kB / 479.4 MB, free: 8.328 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1147, allocations: 115.4 kB / 479.5 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.115, allocations: 336 kB / 479.8 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008994/0.116, allocations: 0.8213 MB / 480.7 MB, free: 7.055 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.116, allocations: 0 / 480.7 MB, free: 7.055 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.116, allocations: 0 / 480.7 MB, free: 7.055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.116, allocations: 4 kB / 480.7 MB, free: 7.051 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.006607/0.1226, allocations: 1.821 MB / 482.5 MB, free: 5.172 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.1227, allocations: 8.031 kB / 482.5 MB, free: 5.164 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.1229, allocations: 76.09 kB / 482.6 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005696/0.1235, allocations: 438 kB / 483 MB, free: 4.621 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.1236, allocations: 45.38 kB / 483 MB, free: 4.578 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.1237, allocations: 56.38 kB / 483.1 MB, free: 4.523 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.1249, allocations: 0.7572 MB / 483.8 MB, free: 3.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1249, allocations: 192 / 483.8 MB, free: 3.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.78e-05/0.125, allocations: 23.94 kB / 483.9 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.125, allocations: 15.94 kB / 483.9 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.1261, allocations: 0.6794 MB / 484.6 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2352/0.3613, allocations: 2.971 MB / 487.5 MB, free: 25.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.3636, allocations: 1.288 MB / 488.8 MB, free: 25.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007041/0.3644, allocations: 474 kB / 489.3 MB, free: 25.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.3645, allocations: 17.95 kB / 489.3 MB, free: 25.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3645, allocations: 45.59 kB / 489.3 MB, free: 25.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 3.256e-06/0.3645, allocations: 0.5312 kB / 489.3 MB, free: 25.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.01349/0.378, allocations: 3.437 MB / 492.8 MB, free: 24.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.3781, allocations: 111.8 kB / 492.9 MB, free: 24.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/0.3787, allocations: 387.6 kB / 493.3 MB, free: 24.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.3788, allocations: 42.92 kB / 493.3 MB, free: 23.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.379, allocations: 232.6 kB / 493.5 MB, free: 23.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.3792, allocations: 251.3 kB / 493.8 MB, free: 23.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.3792, allocations: 15.16 kB / 493.8 MB, free: 23.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3794, allocations: 363.2 kB / 494.2 MB, free: 23.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/0.3801, allocations: 439.4 kB / 494.6 MB, free: 23.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/0.3807, allocations: 0.5103 MB / 495.1 MB, free: 22.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.3822, allocations: 0.9846 MB / 496.1 MB, free: 22.31 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3822, allocations: 0 / 496.1 MB, free: 22.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00546/0.3876, allocations: 1.965 MB / 498 MB, free: 21.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.3877, allocations: 5.578 kB / 498 MB, free: 21.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3877, allocations: 5.031 kB / 498.1 MB, free: 21.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006138/0.3939, allocations: 1.538 MB / 499.6 MB, free: 21.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.3945, allocations: 134 kB / 499.7 MB, free: 21.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.4048, allocations: 5.423 MB / 0.4933 GB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007447/0.4055, allocations: 82.64 kB / 0.4934 GB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/0.4056, allocations: 26.77 kB / 0.4934 GB, free: 17.95 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 (75): * Single equations (assignments): 74 * 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 {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003192/0.406, allocations: 197.8 kB / 0.4936 GB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.4061, allocations: 62.64 kB / 0.4937 GB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005183/0.4113, allocations: 1.904 MB / 0.4955 GB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.4113, allocations: 11.22 kB / 0.4955 GB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4113, allocations: 1.406 kB / 0.4955 GB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4113, allocations: 3.984 kB / 0.4955 GB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006129/0.4175, allocations: 2.76 MB / 0.4982 GB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.4175, allocations: 0 / 0.4982 GB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.4179, allocations: 91.27 kB / 0.4983 GB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005498/0.4234, allocations: 1.297 MB / 0.4996 GB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-05/0.4235, allocations: 23.23 kB / 0.4996 GB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/0.4336, allocations: 5.341 MB / 0.5048 GB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4337, allocations: 4 kB / 0.5048 GB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005176/0.4389, allocations: 1.892 MB / 0.5067 GB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.4392, allocations: 149.2 kB / 0.5068 GB, free: 7.652 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.4393, allocations: 16 kB / 0.5068 GB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005901/0.4399, allocations: 43.97 kB / 0.5069 GB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/0.4402, allocations: 68.91 kB / 0.5069 GB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/0.4403, allocations: 24 kB / 0.507 GB, free: 7.504 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002963/0.4406, allocations: 259.1 kB / 0.5072 GB, free: 7.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4406, allocations: 0 / 0.5072 GB, free: 7.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001038/0.4416, allocations: 295.7 kB / 0.5075 GB, free: 6.961 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 (55): * Single equations (assignments): 54 * 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 {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002833/0.4419, allocations: 138.1 kB / 0.5076 GB, free: 6.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003438/0.4454, allocations: 1.603 MB / 0.5092 GB, free: 5.207 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4454, allocations: 0 / 0.5092 GB, free: 5.207 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002519/0.4479, allocations: 1.045 MB / 0.5102 GB, free: 4.152 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.4486, allocations: 61.55 kB / 0.5103 GB, free: 4.094 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.4506, allocations: 1.465 MB / 0.5117 GB, free: 2.605 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.451, allocations: 0.885 MB / 0.5126 GB, free: 1.688 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002856/0.4513, allocations: 88.33 kB / 0.5126 GB, free: 1.598 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.4514, allocations: 47.42 kB / 0.5127 GB, free: 1.551 MB / 314.7 MB Notification: Performance of SimCode: time 1.714e-06/0.4514, allocations: 0 / 0.5127 GB, free: 1.551 MB / 314.7 MB Notification: Performance of Templates: time 0.02786/0.4793, allocations: 16.56 MB / 0.5289 GB, free: 1.066 MB / 330.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1)