Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 179.1 kB / 16.13 MB, free: 5.258 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.451/1.451, allocations: 225.7 MB / 242.6 MB, free: 8.445 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.0007911/0.0007914, allocations: 91.09 kB / 293.8 MB, free: 9.496 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.04766/0.04766, allocations: 8.1 MB / 353 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003929, allocations: 8 kB / 416.2 MB, free: 56.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1065, allocations: 52.53 MB / 468.7 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.002635/0.1092, allocations: 2.764 MB / 471.5 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003761/0.113, allocations: 2.641 MB / 474.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.1132, allocations: 8 kB / 474.2 MB, free: 13.92 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004888/0.1137, allocations: 171.2 kB / 474.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006897/0.1144, allocations: 282.4 kB / 474.6 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.1175, allocations: 2.718 MB / 477.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008423/0.1183, allocations: 0.6219 MB / 477.9 MB, free: 9.758 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.1186, allocations: 187.7 kB / 478.1 MB, free: 9.566 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.1189, allocations: 238.9 kB / 478.4 MB, free: 9.332 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004234/0.1193, allocations: 326.5 kB / 478.7 MB, free: 9.012 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.1194, allocations: 28 kB / 478.7 MB, free: 8.984 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005596/0.1199, allocations: 255.8 kB / 478.9 MB, free: 8.734 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.1201, allocations: 111.5 kB / 479.1 MB, free: 8.625 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.1204, allocations: 316.1 kB / 479.4 MB, free: 8.309 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008545/0.1212, allocations: 0.7707 MB / 480.1 MB, free: 7.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.1212, allocations: 3.984 kB / 480.1 MB, free: 7.531 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1212, allocations: 4 kB / 480.1 MB, free: 7.527 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1213, allocations: 0 / 480.1 MB, free: 7.527 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.006412/0.1277, allocations: 1.782 MB / 481.9 MB, free: 5.691 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1277, allocations: 8.031 kB / 481.9 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.1279, allocations: 76.09 kB / 482 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005668/0.1285, allocations: 422.2 kB / 482.4 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.1286, allocations: 41.31 kB / 482.5 MB, free: 5.117 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.993e-05/0.1286, allocations: 52.38 kB / 482.5 MB, free: 5.066 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.1298, allocations: 0.7142 MB / 483.2 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1298, allocations: 192 / 483.2 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/0.1299, allocations: 23.94 kB / 483.2 MB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1299, allocations: 12 kB / 483.3 MB, free: 4.301 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.1309, allocations: 0.6599 MB / 483.9 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003639/0.1345, allocations: 2.879 MB / 486.8 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2394/0.374, allocations: 1.075 MB / 487.9 MB, free: 26.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.3751, allocations: 487.7 kB / 488.4 MB, free: 26.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.3752, allocations: 20.31 kB / 488.4 MB, free: 26.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.694e-05/0.3753, allocations: 43.09 kB / 488.4 MB, free: 25.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 3.967e-06/0.3753, allocations: 0 / 488.4 MB, free: 25.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.01175/0.3871, allocations: 3.196 MB / 491.6 MB, free: 25.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.3872, allocations: 112.7 kB / 491.7 MB, free: 25.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.3877, allocations: 380.5 kB / 492.1 MB, free: 24.97 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.772e-05/0.3878, allocations: 43.55 kB / 492.1 MB, free: 24.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.388, allocations: 211.7 kB / 492.3 MB, free: 24.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.3882, allocations: 249.4 kB / 492.6 MB, free: 24.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.3882, allocations: 19.31 kB / 492.6 MB, free: 24.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3884, allocations: 362.6 kB / 493 MB, free: 24.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006833/0.3891, allocations: 466.3 kB / 493.4 MB, free: 24.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007515/0.3898, allocations: 0.52 MB / 493.9 MB, free: 23.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.3913, allocations: 1.013 MB / 494.9 MB, free: 23.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3913, allocations: 0 / 494.9 MB, free: 23.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005395/0.3967, allocations: 2.006 MB / 497 MB, free: 22.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3968, allocations: 4.344 kB / 497 MB, free: 22.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3968, allocations: 0 / 497 MB, free: 22.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00604/0.4028, allocations: 1.538 MB / 498.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/0.4035, allocations: 131 kB / 498.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.4137, allocations: 5.726 MB / 0.4925 GB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007362/0.4145, allocations: 80.08 kB / 0.4926 GB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.886e-05/0.4145, allocations: 29.64 kB / 0.4926 GB, free: 18.63 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.0003182/0.4149, allocations: 184.8 kB / 0.4928 GB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.4151, allocations: 57.72 kB / 0.4929 GB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005305/0.4204, allocations: 1.996 MB / 0.4948 GB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.4204, allocations: 11.28 kB / 0.4948 GB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4204, allocations: 1.469 kB / 0.4948 GB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.4204, allocations: 3.984 kB / 0.4948 GB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005865/0.4263, allocations: 2.823 MB / 0.4976 GB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.4263, allocations: 0 / 0.4976 GB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.4267, allocations: 92.8 kB / 0.4977 GB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005384/0.4321, allocations: 1.299 MB / 0.4989 GB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.511e-05/0.4322, allocations: 15.84 kB / 0.499 GB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00889/0.4411, allocations: 5.644 MB / 0.5045 GB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4411, allocations: 0 / 0.5045 GB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004435/0.4456, allocations: 1.944 MB / 0.5064 GB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.4458, allocations: 140.3 kB / 0.5065 GB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.718e-05/0.4459, allocations: 12.75 kB / 0.5065 GB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/0.4464, allocations: 60.94 kB / 0.5066 GB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.4466, allocations: 56.92 kB / 0.5066 GB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.4467, allocations: 27.98 kB / 0.5067 GB, free: 8.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002652/0.4469, allocations: 259.2 kB / 0.5069 GB, free: 7.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.447, allocations: 0 / 0.5069 GB, free: 7.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009507/0.4479, allocations: 291.7 kB / 0.5072 GB, free: 7.484 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 (56): * Single equations (assignments): 55 * 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.0002604/0.4482, allocations: 145.1 kB / 0.5073 GB, free: 7.336 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003438/0.4516, allocations: 1.645 MB / 0.5089 GB, free: 5.688 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4517, allocations: 0 / 0.5089 GB, free: 5.688 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002462/0.4541, allocations: 1.074 MB / 0.51 GB, free: 4.602 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/0.4547, allocations: 70.12 kB / 0.51 GB, free: 4.535 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.4564, allocations: 1.401 MB / 0.5114 GB, free: 3.113 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.4567, allocations: 0.8819 MB / 0.5123 GB, free: 2.195 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002753/0.457, allocations: 84.34 kB / 0.5123 GB, free: 2.113 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.4571, allocations: 56.94 kB / 0.5124 GB, free: 2.059 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4571, allocations: 0 / 0.5124 GB, free: 2.059 MB / 314.7 MB Notification: Performance of Templates: time 0.02659/0.4837, allocations: 17.12 MB / 0.5291 GB, free: 1.004 MB / 330.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)