Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 183.8 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: 10.21 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.0007617/0.0007618, allocations: 88.86 kB / 294.3 MB, free: 9.754 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.2774/0.2774, allocations: 38.18 MB / 383.7 MB, free: 40.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002982, allocations: 8 kB / 453.6 MB, free: 8.836 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2867, allocations: 59.15 MB / 0.5007 GB, free: 38.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005841/0.2926, allocations: 6.919 MB / 0.5074 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005704/0.2983, allocations: 9.096 MB / 0.5163 GB, free: 27.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005445/0.2988, allocations: 15.56 kB / 0.5163 GB, free: 27.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004427/0.2993, allocations: 127.5 kB / 0.5165 GB, free: 27.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00266/0.302, allocations: 1.212 MB / 0.5176 GB, free: 27.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007939/0.3028, allocations: 308.3 kB / 0.5179 GB, free: 27.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001971/0.3048, allocations: 2.574 MB / 0.5205 GB, free: 26.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/0.3069, allocations: 2.304 MB / 0.5227 GB, free: 24.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009027/0.3078, allocations: 0.4985 MB / 0.5232 GB, free: 24.4 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.3088, allocations: 0.7412 MB / 0.5239 GB, free: 24.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.309, allocations: 39.06 kB / 0.5239 GB, free: 24.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.3115, allocations: 1.702 MB / 0.5256 GB, free: 23.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005447/0.312, allocations: 0.5526 MB / 0.5262 GB, free: 23.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006501/0.3127, allocations: 0.5173 MB / 0.5267 GB, free: 23.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.315, allocations: 1.921 MB / 0.5285 GB, free: 22.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.315, allocations: 0 / 0.5285 GB, free: 22.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.315, allocations: 3.031 kB / 0.5285 GB, free: 22.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.3151, allocations: 0 / 0.5285 GB, free: 22.59 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001297/0.3164, allocations: 1.155 MB / 0.5297 GB, free: 21.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.3164, allocations: 11.53 kB / 0.5297 GB, free: 21.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0032/0.3196, allocations: 0.5461 MB / 0.5302 GB, free: 21.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.3203, allocations: 0.5568 MB / 0.5307 GB, free: 21.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.3203, allocations: 65.23 kB / 0.5308 GB, free: 21.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.3205, allocations: 89.98 kB / 0.5309 GB, free: 21.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.3222, allocations: 1.499 MB / 0.5324 GB, free: 20.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.3222, allocations: 6.891 kB / 0.5324 GB, free: 20.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-05/0.3223, allocations: 36.67 kB / 0.5324 GB, free: 20.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.53e-05/0.3224, allocations: 97.86 kB / 0.5325 GB, free: 20.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.3242, allocations: 1.54 MB / 0.534 GB, free: 20.14 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 preOpt removeSimpleEquations (simulation): time 0.005678/0.3299, allocations: 4.948 MB / 0.5388 GB, free: 17.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.3313, allocations: 1.164 MB / 0.54 GB, free: 17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008313/0.3322, allocations: 0.7612 MB / 0.5407 GB, free: 16.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.089e-05/0.3322, allocations: 28.98 kB / 0.5407 GB, free: 16.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.3323, allocations: 42.78 kB / 0.5408 GB, free: 16.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 2.936e-06/0.3323, allocations: 0 / 0.5408 GB, free: 16.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.006513/0.3388, allocations: 3.686 MB / 0.5444 GB, free: 15.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.3389, allocations: 87.95 kB / 0.5445 GB, free: 15.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.3393, allocations: 478 kB / 0.5449 GB, free: 14.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/0.3394, allocations: 40.8 kB / 0.545 GB, free: 14.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.3396, allocations: 426.6 kB / 0.5454 GB, free: 14.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.3399, allocations: 375.7 kB / 0.5457 GB, free: 14.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.3399, allocations: 21.91 kB / 0.5457 GB, free: 14.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.34, allocations: 378.9 kB / 0.5461 GB, free: 13.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/0.3407, allocations: 0.5392 MB / 0.5466 GB, free: 13.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008203/0.3416, allocations: 0.7441 MB / 0.5474 GB, free: 13.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.3432, allocations: 1.394 MB / 0.5487 GB, free: 12.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.3432, allocations: 5.312 kB / 0.5487 GB, free: 12.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002898/0.3461, allocations: 1.792 MB / 0.5505 GB, free: 11.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3462, allocations: 8.344 kB / 0.5505 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.3462, allocations: 9.375 kB / 0.5505 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.3473, allocations: 409.1 kB / 0.5509 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000879/0.3482, allocations: 235.1 kB / 0.5511 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005768/0.354, allocations: 5.613 MB / 0.5566 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/0.3547, allocations: 67.73 kB / 0.5567 GB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.835e-05/0.3548, allocations: 44 kB / 0.5567 GB, free: 7.727 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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 {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004928/0.3553, allocations: 365.7 kB / 0.557 GB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3554, allocations: 76.08 kB / 0.5571 GB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/0.3584, allocations: 1.801 MB / 0.5589 GB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.3584, allocations: 12.31 kB / 0.5589 GB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.3584, allocations: 6.703 kB / 0.5589 GB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.3584, allocations: 10.17 kB / 0.5589 GB, free: 6.746 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.005035/0.3635, allocations: 3.463 MB / 0.5623 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.3635, allocations: 4.125 kB / 0.5623 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006805/0.3642, allocations: 186.6 kB / 0.5625 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008346/0.365, allocations: 347.5 kB / 0.5628 GB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-05/0.3651, allocations: 30.05 kB / 0.5628 GB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004856/0.37, allocations: 5.338 MB / 0.568 GB, free: 56 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.37, allocations: 11.92 kB / 0.5681 GB, free: 44 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.3728, allocations: 1.811 MB / 0.5698 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.373, allocations: 164.2 kB / 0.57 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.3731, allocations: 20 kB / 0.57 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000479/0.3736, allocations: 59.88 kB / 0.5701 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.3738, allocations: 88.83 kB / 0.5701 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-05/0.3739, allocations: 39.98 kB / 0.5702 GB, free: 13.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003515/0.3743, allocations: 319.1 kB / 0.5705 GB, free: 13.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3743, allocations: 3.938 kB / 0.5705 GB, free: 13.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001135/0.3754, allocations: 399.9 kB / 0.5709 GB, free: 13.07 MB / 394.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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,7,100.0%), (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.0001822/0.3756, allocations: 144.1 kB / 0.571 GB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.3781, allocations: 1.74 MB / 0.5727 GB, free: 11.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3781, allocations: 0.5625 kB / 0.5727 GB, free: 11.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.3795, allocations: 1.084 MB / 0.5738 GB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008977/0.3804, allocations: 118.9 kB / 0.5739 GB, free: 9.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.3839, allocations: 2.698 MB / 0.5765 GB, free: 7.168 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007675/0.3847, allocations: 1.171 MB / 0.5777 GB, free: 5.969 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005967/0.3853, allocations: 233.4 kB / 0.5779 GB, free: 5.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.3855, allocations: 67.41 kB / 0.5779 GB, free: 5.676 MB / 394.7 MB Notification: Performance of SimCode: time 7.91e-07/0.3855, allocations: 0 / 0.5779 GB, free: 5.676 MB / 394.7 MB Notification: Performance of Templates: time 0.01783/0.4034, allocations: 11.49 MB / 0.5892 GB, free: 10.18 MB / 410.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches