Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/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(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000916/0.0009161, allocations: 182.5 kB / 16.71 MB, free: 4.969 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.199/1.199, allocations: 225.7 MB / 243.2 MB, free: 8.465 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.0007839/0.0007839, allocations: 103.2 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2732/0.2732, allocations: 38.18 MB / 383.7 MB, free: 40.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 8.219 kB / 453.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2733, allocations: 59.16 MB / 0.5007 GB, free: 39.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006504/0.2799, allocations: 6.918 MB / 0.5074 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005919/0.2859, allocations: 9.025 MB / 0.5163 GB, free: 28.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005876/0.2865, allocations: 16.38 kB / 0.5163 GB, free: 28.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004269/0.2869, allocations: 132.1 kB / 0.5164 GB, free: 28.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.2895, allocations: 1.14 MB / 0.5175 GB, free: 27.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008031/0.2903, allocations: 289.5 kB / 0.5178 GB, free: 27.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002065/0.2924, allocations: 2.575 MB / 0.5203 GB, free: 26.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.2947, allocations: 2.145 MB / 0.5224 GB, free: 24.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.2957, allocations: 498.8 kB / 0.5229 GB, free: 24.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.2968, allocations: 0.6692 MB / 0.5235 GB, free: 24.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.2969, allocations: 31.84 kB / 0.5236 GB, free: 24.44 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.2993, allocations: 1.526 MB / 0.525 GB, free: 23.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004548/0.2998, allocations: 432.5 kB / 0.5255 GB, free: 23.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004668/0.3003, allocations: 418.9 kB / 0.5259 GB, free: 23.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.3024, allocations: 1.498 MB / 0.5273 GB, free: 23.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3025, allocations: 2.656 kB / 0.5273 GB, free: 23.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3025, allocations: 0 / 0.5273 GB, free: 23.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.498e-05/0.3025, allocations: 0 / 0.5273 GB, free: 23.09 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001384/0.3039, allocations: 0.9812 MB / 0.5283 GB, free: 22.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.304, allocations: 11.28 kB / 0.5283 GB, free: 22.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/0.3068, allocations: 393.5 kB / 0.5287 GB, free: 22.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007117/0.3076, allocations: 480.6 kB / 0.5291 GB, free: 21.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.3076, allocations: 59.42 kB / 0.5292 GB, free: 21.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.3078, allocations: 73.39 kB / 0.5292 GB, free: 21.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.3095, allocations: 1.179 MB / 0.5304 GB, free: 21.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.3095, allocations: 0 / 0.5304 GB, free: 21.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.903e-05/0.3096, allocations: 33.47 kB / 0.5304 GB, free: 21.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.118e-05/0.3097, allocations: 66.47 kB / 0.5305 GB, free: 21.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.3113, allocations: 1.236 MB / 0.5317 GB, free: 21.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004495/0.3158, allocations: 3.529 MB / 0.5352 GB, free: 19.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.3172, allocations: 1.056 MB / 0.5362 GB, free: 18.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006756/0.3179, allocations: 0.6573 MB / 0.5368 GB, free: 18.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.808e-05/0.3179, allocations: 18.22 kB / 0.5368 GB, free: 18.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.318, allocations: 42.81 kB / 0.5369 GB, free: 18.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.246e-06/0.318, allocations: 3.938 kB / 0.5369 GB, free: 18.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.005425/0.3234, allocations: 3.092 MB / 0.5399 GB, free: 17.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.3235, allocations: 87.86 kB / 0.54 GB, free: 17.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.3238, allocations: 363.8 kB / 0.5403 GB, free: 17.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.3238, allocations: 41.42 kB / 0.5404 GB, free: 17.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3239, allocations: 311.6 kB / 0.5407 GB, free: 16.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.3241, allocations: 315.8 kB / 0.541 GB, free: 16.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.3242, allocations: 19.03 kB / 0.541 GB, free: 16.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.701e-05/0.3243, allocations: 372 kB / 0.5413 GB, free: 16.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.3248, allocations: 464 kB / 0.5418 GB, free: 16.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/0.3254, allocations: 0.561 MB / 0.5423 GB, free: 15.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.3266, allocations: 1.105 MB / 0.5434 GB, free: 15.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3266, allocations: 7.125 kB / 0.5434 GB, free: 15.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001963/0.3286, allocations: 1.474 MB / 0.5449 GB, free: 14.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3286, allocations: 6.156 kB / 0.5449 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3286, allocations: 0 / 0.5449 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008028/0.3295, allocations: 334.5 kB / 0.5452 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/0.3301, allocations: 182.5 kB / 0.5454 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/0.3343, allocations: 3.874 MB / 0.5491 GB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.3348, allocations: 44.19 kB / 0.5492 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/0.3349, allocations: 42.89 kB / 0.5492 GB, free: 12.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003724/0.3353, allocations: 302.2 kB / 0.5495 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.242e-05/0.3354, allocations: 57.02 kB / 0.5496 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.3378, allocations: 1.56 MB / 0.5511 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.3378, allocations: 11.16 kB / 0.5511 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.3378, allocations: 4.094 kB / 0.5511 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.3378, allocations: 6.156 kB / 0.5511 GB, free: 11.31 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004598/0.3424, allocations: 3.029 MB / 0.5541 GB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.3424, allocations: 3.094 kB / 0.5541 GB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006417/0.3431, allocations: 164.2 kB / 0.5542 GB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007921/0.3439, allocations: 292.8 kB / 0.5545 GB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-05/0.344, allocations: 25.64 kB / 0.5545 GB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004128/0.3481, allocations: 3.6 MB / 0.5581 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.3481, allocations: 7.406 kB / 0.5581 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.3505, allocations: 1.589 MB / 0.5596 GB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.3506, allocations: 146.6 kB / 0.5597 GB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.894e-05/0.3507, allocations: 25.86 kB / 0.5598 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.3512, allocations: 39.89 kB / 0.5598 GB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.3513, allocations: 83.08 kB / 0.5599 GB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.238e-05/0.3514, allocations: 39.02 kB / 0.5599 GB, free: 6.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002477/0.3517, allocations: 254.9 kB / 0.5602 GB, free: 6.434 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3517, allocations: 0 / 0.5602 GB, free: 6.434 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001101/0.3528, allocations: 306.1 kB / 0.5605 GB, free: 6.402 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001548/0.353, allocations: 129.7 kB / 0.5606 GB, free: 6.289 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.3548, allocations: 1.389 MB / 0.5619 GB, free: 5.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3548, allocations: 1.375 kB / 0.5619 GB, free: 5.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.3558, allocations: 0.839 MB / 0.5628 GB, free: 5.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007806/0.3566, allocations: 116.5 kB / 0.5629 GB, free: 5.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.3591, allocations: 2.17 MB / 0.565 GB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.3595, allocations: 1.068 MB / 0.566 GB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004108/0.3599, allocations: 188.5 kB / 0.5662 GB, free: 2.242 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.3601, allocations: 59.41 kB / 0.5663 GB, free: 2.188 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3601, allocations: 4 kB / 0.5663 GB, free: 2.184 MB / 378.7 MB Notification: Performance of Templates: time 0.01429/0.3744, allocations: 9.317 MB / 0.5754 GB, free: 8.859 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches