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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 172.2 kB / 17.39 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.4 MB / 223.5 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008037/0.000804, allocations: 85.05 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1741/0.1741, allocations: 38.07 MB / 358.3 MB, free: 1.746 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 12 kB / 425.2 MB, free: 37.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2878, allocations: 56.33 MB / 481.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.4236, allocations: 99.5 MB / 0.5675 GB, free: 2.758 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.4239, allocations: 95.8 kB / 0.5675 GB, free: 2.668 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1419/0.5659, allocations: 59.4 MB / 0.6256 GB, free: 6.543 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5659, allocations: 0 / 0.6256 GB, free: 6.543 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.63e-05/0.566, allocations: 20 kB / 0.6256 GB, free: 6.523 MB / 458.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.002634/0.5686, allocations: 1.175 MB / 0.6267 GB, free: 5.293 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.5687, allocations: 8.031 kB / 0.6267 GB, free: 5.285 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004015/0.5727, allocations: 0.4989 MB / 0.6272 GB, free: 4.785 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.5742, allocations: 0.5657 MB / 0.6278 GB, free: 4.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.681e-05/0.5743, allocations: 70.36 kB / 0.6278 GB, free: 4.109 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.5746, allocations: 88.27 kB / 0.6279 GB, free: 4.023 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/0.5775, allocations: 1.474 MB / 0.6294 GB, free: 2.512 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/0.5775, allocations: 192 / 0.6294 GB, free: 2.512 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.5777, allocations: 39.92 kB / 0.6294 GB, free: 2.473 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003058/0.578, allocations: 137.9 kB / 0.6295 GB, free: 2.336 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.5804, allocations: 1.484 MB / 0.631 GB, free: 0.8438 MB / 458.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.007362/0.5878, allocations: 4.872 MB / 0.6357 GB, free: 11.76 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.5895, allocations: 1.155 MB / 0.6369 GB, free: 10.58 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009922/0.5905, allocations: 0.7497 MB / 0.6376 GB, free: 9.828 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.841e-05/0.5906, allocations: 25.05 kB / 0.6376 GB, free: 9.805 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.5906, allocations: 39.56 kB / 0.6377 GB, free: 9.758 MB / 474.7 MB Notification: Performance of pre-optimization done (n=107): time 3.406e-06/0.5907, allocations: 0 / 0.6377 GB, free: 9.758 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.008224/0.5989, allocations: 3.764 MB / 0.6413 GB, free: 5.945 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/0.599, allocations: 90.11 kB / 0.6414 GB, free: 5.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008301/0.5999, allocations: 473.7 kB / 0.6419 GB, free: 5.367 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-05/0.6, allocations: 41.73 kB / 0.6419 GB, free: 5.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.6003, allocations: 431.4 kB / 0.6423 GB, free: 4.891 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004034/0.6007, allocations: 366.6 kB / 0.6427 GB, free: 4.527 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.6008, allocations: 24 kB / 0.6427 GB, free: 4.504 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.601, allocations: 382.8 kB / 0.6431 GB, free: 4.121 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007919/0.6018, allocations: 0.5218 MB / 0.6436 GB, free: 3.602 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000884/0.6027, allocations: 0.7344 MB / 0.6443 GB, free: 2.785 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.6048, allocations: 1.369 MB / 0.6456 GB, free: 1.336 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.6048, allocations: 4 kB / 0.6456 GB, free: 1.332 MB / 474.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.2172/0.822, allocations: 1.771 MB / 0.6474 GB, free: 121.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.8221, allocations: 7.094 kB / 0.6474 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.8221, allocations: 5.656 kB / 0.6474 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.8232, allocations: 407.4 kB / 0.6478 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.8243, allocations: 242 kB / 0.648 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006163/0.8305, allocations: 5.615 MB / 0.6535 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008791/0.8314, allocations: 72.02 kB / 0.6535 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-05/0.8315, allocations: 43.89 kB / 0.6536 GB, free: 118.9 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006104/0.8321, allocations: 359.8 kB / 0.6539 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.8323, allocations: 79.25 kB / 0.654 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/0.8353, allocations: 1.779 MB / 0.6557 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.8353, allocations: 15.44 kB / 0.6558 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.8354, allocations: 6.109 kB / 0.6558 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.8354, allocations: 7.141 kB / 0.6558 GB, free: 118.7 MB / 474.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.005799/0.8412, allocations: 3.442 MB / 0.6591 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.8412, allocations: 4.047 kB / 0.6591 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007346/0.842, allocations: 182.1 kB / 0.6593 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009254/0.8429, allocations: 350.3 kB / 0.6596 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.612e-05/0.843, allocations: 26.38 kB / 0.6597 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006209/0.8492, allocations: 5.365 MB / 0.6649 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.8492, allocations: 6.469 kB / 0.6649 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/0.8523, allocations: 1.798 MB / 0.6667 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.8525, allocations: 156.9 kB / 0.6668 GB, free: 114.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.8526, allocations: 30.86 kB / 0.6668 GB, free: 114.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005036/0.8531, allocations: 49.3 kB / 0.6669 GB, free: 114.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.8534, allocations: 92.7 kB / 0.667 GB, free: 114.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.062e-05/0.8535, allocations: 33.06 kB / 0.667 GB, free: 114.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004471/0.8539, allocations: 323.7 kB / 0.6673 GB, free: 114.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.8539, allocations: 0 / 0.6673 GB, free: 114.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001419/0.8554, allocations: 409.2 kB / 0.6677 GB, free: 114.8 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002119/0.8556, allocations: 146.1 kB / 0.6678 GB, free: 114.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002999/0.8586, allocations: 1.714 MB / 0.6695 GB, free: 114.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8586, allocations: 0 / 0.6695 GB, free: 114.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001639/0.8602, allocations: 1.059 MB / 0.6706 GB, free: 114.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009526/0.8612, allocations: 124.4 kB / 0.6707 GB, free: 114.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/0.8652, allocations: 2.579 MB / 0.6732 GB, free: 113.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008225/0.866, allocations: 1.173 MB / 0.6743 GB, free: 112.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006945/0.8667, allocations: 234.8 kB / 0.6746 GB, free: 112.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.8669, allocations: 68.19 kB / 0.6746 GB, free: 112.4 MB / 474.7 MB Notification: Performance of SimCode: time 6.61e-07/0.8669, allocations: 0 / 0.6746 GB, free: 112.4 MB / 474.7 MB Notification: Performance of Templates: time 0.01528/0.8822, allocations: 11.12 MB / 0.6855 GB, free: 111.8 MB / 474.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/jenkins1/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