Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,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.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,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.NetworkOpened") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008498/0.0008499, allocations: 185.9 kB / 16.72 MB, free: 4.938 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.224/1.224, allocations: 225.7 MB / 243.2 MB, free: 8.441 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.0007591/0.0007592, allocations: 94.11 kB / 294.4 MB, free: 9.469 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.2722/0.2722, allocations: 38.18 MB / 383.7 MB, free: 40.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.0002709, allocations: 8 kB / 453.5 MB, free: 8.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2473, allocations: 59.16 MB / 0.5007 GB, free: 39.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.005894/0.2533, allocations: 7.336 MB / 0.5079 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005815/0.2591, allocations: 9.871 MB / 0.5175 GB, free: 27.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005132/0.2597, allocations: 22.06 kB / 0.5175 GB, free: 27.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.26, allocations: 134.1 kB / 0.5176 GB, free: 27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.2623, allocations: 1.197 MB / 0.5188 GB, free: 26.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007002/0.263, allocations: 332.5 kB / 0.5191 GB, free: 26.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001647/0.2647, allocations: 2.681 MB / 0.5217 GB, free: 25.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001831/0.2665, allocations: 2.043 MB / 0.5237 GB, free: 23.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006738/0.2672, allocations: 0.5067 MB / 0.5242 GB, free: 23.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006284/0.2678, allocations: 0.6873 MB / 0.5249 GB, free: 23.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.2679, allocations: 32.03 kB / 0.5249 GB, free: 23.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.27, allocations: 1.637 MB / 0.5265 GB, free: 22.78 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.2702, allocations: 442.7 kB / 0.527 GB, free: 22.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.2705, allocations: 440.7 kB / 0.5274 GB, free: 22.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.2719, allocations: 1.587 MB / 0.5289 GB, free: 21.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2719, allocations: 2.812 kB / 0.5289 GB, free: 21.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2719, allocations: 0 / 0.5289 GB, free: 21.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.2719, allocations: 0 / 0.5289 GB, free: 21.95 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001061/0.273, allocations: 1.019 MB / 0.5299 GB, free: 21.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.273, allocations: 10.03 kB / 0.5299 GB, free: 21.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/0.2757, allocations: 415.2 kB / 0.5303 GB, free: 21.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.2762, allocations: 496.4 kB / 0.5308 GB, free: 20.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.2763, allocations: 54.92 kB / 0.5309 GB, free: 20.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.2764, allocations: 76.36 kB / 0.5309 GB, free: 20.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.2778, allocations: 1.233 MB / 0.5321 GB, free: 20.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.2779, allocations: 3.984 kB / 0.5321 GB, free: 20.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.866e-05/0.278, allocations: 30.42 kB / 0.5322 GB, free: 20.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.349e-05/0.278, allocations: 81.22 kB / 0.5322 GB, free: 20.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.2795, allocations: 1.305 MB / 0.5335 GB, free: 19.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.2836, allocations: 3.713 MB / 0.5371 GB, free: 17.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.285, allocations: 1.096 MB / 0.5382 GB, free: 17.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/0.2857, allocations: 0.6357 MB / 0.5388 GB, free: 17.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.2857, allocations: 14.44 kB / 0.5388 GB, free: 17.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.2857, allocations: 49.27 kB / 0.5389 GB, free: 17.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 2.274e-06/0.2857, allocations: 0 / 0.5389 GB, free: 17.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.005615/0.2914, allocations: 3.148 MB / 0.542 GB, free: 16.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.2914, allocations: 90.05 kB / 0.5421 GB, free: 15.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.2918, allocations: 378.5 kB / 0.5424 GB, free: 15.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.2918, allocations: 36.98 kB / 0.5425 GB, free: 15.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2919, allocations: 331.1 kB / 0.5428 GB, free: 15.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.2921, allocations: 317.8 kB / 0.5431 GB, free: 15.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.2922, allocations: 19.09 kB / 0.5431 GB, free: 15.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.2922, allocations: 368.2 kB / 0.5434 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005461/0.2928, allocations: 467.3 kB / 0.5439 GB, free: 14.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005817/0.2934, allocations: 0.5665 MB / 0.5444 GB, free: 14.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.2946, allocations: 1.114 MB / 0.5455 GB, free: 13.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2946, allocations: 0 / 0.5455 GB, free: 13.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002212/0.2968, allocations: 1.47 MB / 0.547 GB, free: 13.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.2969, allocations: 10.44 kB / 0.547 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.2969, allocations: 8.328 kB / 0.547 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009712/0.2979, allocations: 332.1 kB / 0.5473 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007912/0.2987, allocations: 186.4 kB / 0.5475 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004707/0.3034, allocations: 3.87 MB / 0.5513 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/0.304, allocations: 45.52 kB / 0.5513 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.3041, allocations: 38.52 kB / 0.5513 GB, free: 10.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0003916/0.3045, allocations: 307.9 kB / 0.5516 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.3046, allocations: 55.78 kB / 0.5517 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.3072, allocations: 1.542 MB / 0.5532 GB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.3072, allocations: 10.73 kB / 0.5532 GB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.3072, allocations: 8.469 kB / 0.5532 GB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.3072, allocations: 6.672 kB / 0.5532 GB, free: 9.961 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.004895/0.3121, allocations: 3.012 MB / 0.5562 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.3122, allocations: 3.344 kB / 0.5562 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/0.3128, allocations: 167.2 kB / 0.5563 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008063/0.3136, allocations: 291.9 kB / 0.5566 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.283e-05/0.3137, allocations: 28.97 kB / 0.5566 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004179/0.3179, allocations: 3.586 MB / 0.5601 GB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.318, allocations: 4.094 kB / 0.5601 GB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.3201, allocations: 1.576 MB / 0.5617 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.3203, allocations: 141.6 kB / 0.5618 GB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.966e-05/0.3204, allocations: 25.16 kB / 0.5618 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.3208, allocations: 44.67 kB / 0.5619 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.321, allocations: 76.23 kB / 0.5619 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.638e-05/0.321, allocations: 35 kB / 0.562 GB, free: 4.949 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002427/0.3213, allocations: 261.9 kB / 0.5622 GB, free: 4.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3213, allocations: 5.312 kB / 0.5622 GB, free: 4.781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009148/0.3222, allocations: 309 kB / 0.5625 GB, free: 4.75 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.0001443/0.3224, allocations: 141.2 kB / 0.5627 GB, free: 4.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.3242, allocations: 1.386 MB / 0.564 GB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3242, allocations: 1.375 kB / 0.564 GB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.3253, allocations: 0.8322 MB / 0.5648 GB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007587/0.326, allocations: 109 kB / 0.5649 GB, free: 3.363 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.3284, allocations: 2.206 MB / 0.5671 GB, free: 1.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.3289, allocations: 1.076 MB / 0.5681 GB, free: 148 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000459/0.3293, allocations: 188.7 kB / 0.5683 GB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.3295, allocations: 63.41 kB / 0.5684 GB, free: 15.89 MB / 394.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3295, allocations: 4 kB / 0.5684 GB, free: 15.89 MB / 394.7 MB Notification: Performance of Templates: time 0.01478/0.3443, allocations: 9.321 MB / 0.5775 GB, free: 6.562 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches