Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 106.8 kB / 16.92 MB, free: 5.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 191.3 kB / 17.85 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 241.5 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1721/0.1721, allocations: 38.04 MB / 329.7 MB, free: 8.832 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 65.73 kB / 398.8 MB, free: 34.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.113, allocations: 58.06 MB / 456.9 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008045/0.1211, allocations: 7.428 MB / 464.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005602/0.1267, allocations: 4.44 MB / 468.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00037/0.1271, allocations: 15.94 kB / 468.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002457/0.1296, allocations: 1.034 MB / 469.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.1327, allocations: 1.265 MB / 471 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009975/0.1337, allocations: 347 kB / 471.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001745/0.1355, allocations: 1.41 MB / 472.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.1371, allocations: 0.8086 MB / 473.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.1383, allocations: 0.6342 MB / 474.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.1397, allocations: 0.7399 MB / 475 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003003/0.14, allocations: 80 kB / 475.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.1433, allocations: 1.528 MB / 476.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009297/0.1443, allocations: 0.5962 MB / 477.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.1459, allocations: 0.5677 MB / 477.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003973/0.1499, allocations: 1.866 MB / 479.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.15, allocations: 0 / 479.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.15, allocations: 0 / 479.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.89e-05/0.15, allocations: 4 kB / 479.6 MB, free: 1.227 MB / 350.1 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.00247/0.1525, allocations: 1.33 MB / 480.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1526, allocations: 8.031 kB / 481 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003929/0.1565, allocations: 0.5418 MB / 481.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009367/0.1575, allocations: 0.552 MB / 482.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.061e-05/0.1575, allocations: 66.31 kB / 482.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.1577, allocations: 84.36 kB / 482.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.1599, allocations: 1.509 MB / 483.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.16, allocations: 7.906 kB / 483.7 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.1601, allocations: 43.97 kB / 483.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.1602, allocations: 94.02 kB / 483.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.1625, allocations: 1.546 MB / 485.4 MB, free: 11.31 MB / 366.1 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.007075/0.1695, allocations: 4.923 MB / 490.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.1712, allocations: 1.181 MB / 491.5 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009631/0.1722, allocations: 0.7646 MB / 492.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-05/0.1723, allocations: 17.05 kB / 492.3 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1723, allocations: 51.56 kB / 492.3 MB, free: 4.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 2.795e-06/0.1723, allocations: 0 / 492.3 MB, free: 4.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.007363/0.1797, allocations: 3.677 MB / 496 MB, free: 408 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.1798, allocations: 90.09 kB / 496.1 MB, free: 300 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.1803, allocations: 469.8 kB / 496.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.35e-05/0.1804, allocations: 45.7 kB / 496.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.1807, allocations: 427.3 kB / 497 MB, free: 15.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.181, allocations: 366.6 kB / 497.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/0.1813, allocations: 206.8 kB / 497.6 MB, free: 14.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1815, allocations: 382.8 kB / 497.9 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008102/0.1823, allocations: 0.5374 MB / 498.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009202/0.1832, allocations: 0.7539 MB / 499.2 MB, free: 13.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/0.1851, allocations: 1.396 MB / 0.4889 GB, free: 11.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.1851, allocations: 11.88 kB / 0.4889 GB, free: 11.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002927/0.188, allocations: 1.802 MB / 0.4907 GB, free: 9.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.188, allocations: 12.06 kB / 0.4907 GB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.1881, allocations: 4 kB / 0.4907 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.1891, allocations: 415 kB / 0.4911 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009046/0.1901, allocations: 235.6 kB / 0.4913 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006884/0.1969, allocations: 6.066 MB / 0.4972 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00071/0.1977, allocations: 63.92 kB / 0.4973 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-05/0.1978, allocations: 47.98 kB / 0.4973 GB, free: 2.582 MB / 382.1 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.0005532/0.1983, allocations: 369.3 kB / 0.4977 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.1985, allocations: 71.16 kB / 0.4978 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/0.2015, allocations: 1.807 MB / 0.4995 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.2015, allocations: 12 kB / 0.4995 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.2015, allocations: 11.88 kB / 0.4995 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.2016, allocations: 15.91 kB / 0.4996 GB, free: 292 kB / 382.1 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.1907/0.3922, allocations: 3.454 MB / 0.5029 GB, free: 55.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.3923, allocations: 5.953 kB / 0.5029 GB, free: 55.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007129/0.393, allocations: 193.1 kB / 0.5031 GB, free: 55.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008911/0.3939, allocations: 350 kB / 0.5035 GB, free: 55.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/0.394, allocations: 28.36 kB / 0.5035 GB, free: 55.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005634/0.3996, allocations: 5.784 MB / 0.5091 GB, free: 51.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.3996, allocations: 8.391 kB / 0.5091 GB, free: 51.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/0.4027, allocations: 1.822 MB / 0.5109 GB, free: 50.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.4029, allocations: 161.9 kB / 0.5111 GB, free: 50.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.403, allocations: 31.38 kB / 0.5111 GB, free: 50.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/0.4035, allocations: 51.27 kB / 0.5112 GB, free: 50.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.4037, allocations: 92.67 kB / 0.5112 GB, free: 50.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-05/0.4038, allocations: 41 kB / 0.5113 GB, free: 50.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003634/0.4042, allocations: 324.8 kB / 0.5116 GB, free: 49.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4042, allocations: 3.594 kB / 0.5116 GB, free: 49.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00129/0.4055, allocations: 397.2 kB / 0.512 GB, free: 49.93 MB / 382.1 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.000159/0.4057, allocations: 124.9 kB / 0.5121 GB, free: 49.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003215/0.4089, allocations: 2.134 MB / 0.5142 GB, free: 49.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4089, allocations: 4.625 kB / 0.5142 GB, free: 49.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.4103, allocations: 1.075 MB / 0.5152 GB, free: 48.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/0.411, allocations: 126.1 kB / 0.5154 GB, free: 48.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.4142, allocations: 2.23 MB / 0.5175 GB, free: 47.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007958/0.415, allocations: 1.173 MB / 0.5187 GB, free: 46.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006157/0.4156, allocations: 239.6 kB / 0.5189 GB, free: 46.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.4158, allocations: 64.75 kB / 0.519 GB, free: 46.68 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4158, allocations: 0 / 0.519 GB, free: 46.68 MB / 382.1 MB Notification: Performance of Templates: time 0.0165/0.4323, allocations: 12.45 MB / 0.5311 GB, free: 39.21 MB / 382.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches