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.001474/0.001474, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009217/0.0009212, allocations: 85 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1842/0.1842, allocations: 37.99 MB / 348 MB, free: 7.777 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.925e-05, allocations: 0 / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.199, allocations: 56.33 MB / 466.9 MB, free: 6.574 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.705/0.9042, allocations: 98.71 MB / 0.5524 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.9046, allocations: 83.95 kB / 0.5524 GB, free: 12.15 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1378/1.042, allocations: 58.79 MB / 0.6098 GB, free: 0.6719 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.664e-06/1.043, allocations: 4 kB / 0.6098 GB, free: 0.668 MB / 443.1 MB Notification: Performance of Transformations before backend: time 3.348e-05/1.043, allocations: 16 kB / 0.6099 GB, free: 0.6523 MB / 443.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.002156/1.045, allocations: 1.12 MB / 0.611 GB, free: 15.48 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.045, allocations: 8.031 kB / 0.611 GB, free: 15.47 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003774/1.049, allocations: 0.5018 MB / 0.6115 GB, free: 14.97 MB / 459.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009073/1.049, allocations: 0.5592 MB / 0.612 GB, free: 14.37 MB / 459.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/1.05, allocations: 28 kB / 0.612 GB, free: 14.34 MB / 459.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/1.05, allocations: 52 kB / 0.6121 GB, free: 14.29 MB / 459.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001759/1.051, allocations: 1.168 MB / 0.6132 GB, free: 13.12 MB / 459.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/1.053, allocations: 1.325 MB / 0.6145 GB, free: 11.76 MB / 459.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/1.053, allocations: 0 / 0.6145 GB, free: 11.76 MB / 459.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-05/1.054, allocations: 3.953 kB / 0.6145 GB, free: 11.76 MB / 459.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003164/1.054, allocations: 137.9 kB / 0.6146 GB, free: 11.62 MB / 459.1 MB Warning: The model contains alias variables with conflicting start and/or 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.006989/1.061, allocations: 4.682 MB / 0.6192 GB, free: 6.746 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/1.062, allocations: 1.099 MB / 0.6203 GB, free: 5.629 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008361/1.063, allocations: 0.7057 MB / 0.621 GB, free: 4.922 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.528e-05/1.063, allocations: 21.36 kB / 0.621 GB, free: 4.902 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/1.063, allocations: 52.19 kB / 0.621 GB, free: 4.84 MB / 459.1 MB Notification: Performance of pre-optimization done (n=107): time 3.677e-06/1.063, allocations: 0 / 0.621 GB, free: 4.84 MB / 459.1 MB Notification: Performance of matching and sorting (n=108): time 0.00393/1.067, allocations: 2.263 MB / 0.6233 GB, free: 2.562 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/1.067, allocations: 90.42 kB / 0.6233 GB, free: 2.457 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/1.068, allocations: 385 kB / 0.6237 GB, free: 2.07 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 6.211e-05/1.068, allocations: 25.7 kB / 0.6237 GB, free: 2.039 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/1.068, allocations: 427.5 kB / 0.6241 GB, free: 1.613 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/1.069, allocations: 362.6 kB / 0.6245 GB, free: 1.254 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/1.069, allocations: 8 kB / 0.6245 GB, free: 1.246 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/1.069, allocations: 378.8 kB / 0.6249 GB, free: 0.8672 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006757/1.07, allocations: 498.4 kB / 0.6253 GB, free: 392 kB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008562/1.07, allocations: 0.6933 MB / 0.626 GB, free: 15.61 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009053/1.071, allocations: 0.6152 MB / 0.6266 GB, free: 15 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.071, allocations: 4 kB / 0.6266 GB, free: 14.99 MB / 475.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002592/1.074, allocations: 1.65 MB / 0.6282 GB, free: 13.33 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.074, allocations: 8.469 kB / 0.6282 GB, free: 13.32 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.074, allocations: 8 kB / 0.6282 GB, free: 13.32 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/1.075, allocations: 379.2 kB / 0.6286 GB, free: 12.94 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000891/1.076, allocations: 235.6 kB / 0.6288 GB, free: 12.71 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006161/1.082, allocations: 5.416 MB / 0.6341 GB, free: 7.035 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007625/1.083, allocations: 51.86 kB / 0.6342 GB, free: 6.984 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/1.083, allocations: 43.98 kB / 0.6342 GB, free: 6.941 MB / 475.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 () * 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.000221/1.083, allocations: 128.8 kB / 0.6343 GB, free: 6.809 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/1.083, allocations: 75.16 kB / 0.6344 GB, free: 6.734 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/1.086, allocations: 1.654 MB / 0.636 GB, free: 5.07 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/1.086, allocations: 12 kB / 0.636 GB, free: 5.059 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.086, allocations: 8 kB / 0.636 GB, free: 5.051 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1.086, allocations: 7.969 kB / 0.636 GB, free: 5.043 MB / 475.1 MB Warning: The model contains alias variables with conflicting start and/or 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.005122/1.091, allocations: 3.183 MB / 0.6392 GB, free: 1.738 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.091, allocations: 4 kB / 0.6392 GB, free: 1.734 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007185/1.092, allocations: 187.8 kB / 0.6393 GB, free: 1.551 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009288/1.093, allocations: 345.7 kB / 0.6397 GB, free: 1.207 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/1.093, allocations: 4 kB / 0.6397 GB, free: 1.203 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3249/1.418, allocations: 5.128 MB / 0.6447 GB, free: 121.1 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/1.418, allocations: 7.625 kB / 0.6447 GB, free: 121.1 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003141/1.421, allocations: 1.871 MB / 0.6465 GB, free: 120.6 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/1.421, allocations: 158.7 kB / 0.6467 GB, free: 120.5 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/1.422, allocations: 5.203 kB / 0.6467 GB, free: 120.5 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005217/1.422, allocations: 30.77 kB / 0.6467 GB, free: 120.5 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/1.422, allocations: 90.25 kB / 0.6468 GB, free: 120.5 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-05/1.422, allocations: 35.38 kB / 0.6468 GB, free: 120.5 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.000433/1.423, allocations: 294.7 kB / 0.6471 GB, free: 120.4 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.423, allocations: 4.25 kB / 0.6471 GB, free: 120.4 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.001507/1.424, allocations: 365.1 kB / 0.6475 GB, free: 120.4 MB / 475.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 () * 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.0002322/1.425, allocations: 118.1 kB / 0.6476 GB, free: 120.3 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.002699/1.427, allocations: 1.6 MB / 0.6491 GB, free: 120 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.427, allocations: 1.031 kB / 0.6491 GB, free: 120 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001571/1.429, allocations: 0.9987 MB / 0.6501 GB, free: 119.8 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/1.43, allocations: 89.44 kB / 0.6502 GB, free: 119.8 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/1.433, allocations: 1.724 MB / 0.6519 GB, free: 119.4 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009948/1.434, allocations: 1.197 MB / 0.653 GB, free: 118.7 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.0006505/1.435, allocations: 239.4 kB / 0.6533 GB, free: 118.6 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/1.435, allocations: 61.58 kB / 0.6533 GB, free: 118.6 MB / 475.1 MB Notification: Performance of SimCode: time 7.11e-07/1.435, allocations: 1.281 kB / 0.6533 GB, free: 118.6 MB / 475.1 MB Notification: Performance of Templates: time 0.02061/1.455, allocations: 10.63 MB / 0.6637 GB, free: 118.2 MB / 475.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","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches