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.001331/0.001331, allocations: 186.5 kB / 17.27 MB, free: 4.48 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.499/1.499, allocations: 205.1 MB / 223.1 MB, free: 8.48 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.001259/0.001259, allocations: 104.2 kB / 270.5 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1846/0.1846, allocations: 38.01 MB / 355.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001105, allocations: 51.92 kB / 421.9 MB, free: 37.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.376, allocations: 55.23 MB / 477.1 MB, free: 9.922 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008919/0.385, allocations: 7.641 MB / 484.7 MB, free: 4.531 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007201/0.3923, allocations: 4.601 MB / 489.3 MB, free: 1.332 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007669/0.3931, allocations: 16.97 kB / 489.4 MB, free: 1.328 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002501/0.3957, allocations: 0.9755 MB / 490.3 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003935/0.3996, allocations: 1.223 MB / 491.6 MB, free: 124 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.4008, allocations: 298.9 kB / 491.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00418/0.405, allocations: 2.594 MB / 494.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.4066, allocations: 0.8162 MB / 495.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.408, allocations: 0.5303 MB / 495.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.4094, allocations: 0.8157 MB / 496.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.4096, allocations: 65.19 kB / 496.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004312/0.4139, allocations: 1.802 MB / 498.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007395/0.4147, allocations: 0.5916 MB / 499.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007391/0.4154, allocations: 0.5424 MB / 499.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004103/0.4195, allocations: 1.945 MB / 0.4898 GB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4196, allocations: 0 / 0.4898 GB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4196, allocations: 1.156 kB / 0.4898 GB, free: 11.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.423e-05/0.4196, allocations: 0 / 0.4898 GB, free: 11.55 MB / 330.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.0039/0.4235, allocations: 1.343 MB / 0.4911 GB, free: 10.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.34e-05/0.4236, allocations: 9.375 kB / 0.4911 GB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004238/0.4278, allocations: 0.5358 MB / 0.4916 GB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.4291, allocations: 0.5539 MB / 0.4922 GB, free: 9.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/0.4291, allocations: 65.36 kB / 0.4922 GB, free: 9.793 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.4294, allocations: 89.77 kB / 0.4923 GB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.432, allocations: 1.501 MB / 0.4938 GB, free: 8.887 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.4321, allocations: 5.375 kB / 0.4938 GB, free: 8.883 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.4322, allocations: 40.22 kB / 0.4938 GB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.4323, allocations: 94.52 kB / 0.4939 GB, free: 8.828 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/0.4349, allocations: 1.553 MB / 0.4954 GB, free: 8.09 MB / 330.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.008492/0.4434, allocations: 4.922 MB / 0.5002 GB, free: 3.445 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.4453, allocations: 1.18 MB / 0.5014 GB, free: 2.246 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009709/0.4463, allocations: 0.7646 MB / 0.5021 GB, free: 1.477 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.013e-05/0.4463, allocations: 17.05 kB / 0.5022 GB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.4464, allocations: 55.69 kB / 0.5022 GB, free: 1.398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=107): time 4.579e-06/0.4464, allocations: 0 / 0.5022 GB, free: 1.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=108): time 0.007641/0.4541, allocations: 3.685 MB / 0.5058 GB, free: 13.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.4541, allocations: 90.09 kB / 0.5059 GB, free: 13.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/0.4547, allocations: 473.8 kB / 0.5064 GB, free: 13.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.109e-05/0.4548, allocations: 41.7 kB / 0.5064 GB, free: 13.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.4551, allocations: 419.5 kB / 0.5068 GB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003662/0.4554, allocations: 366.6 kB / 0.5071 GB, free: 12.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003264/0.4558, allocations: 206.8 kB / 0.5073 GB, free: 12.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.456, allocations: 382.8 kB / 0.5077 GB, free: 11.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007893/0.4568, allocations: 0.5373 MB / 0.5082 GB, free: 11.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009324/0.4577, allocations: 0.7501 MB / 0.509 GB, free: 10.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.4596, allocations: 1.404 MB / 0.5103 GB, free: 8.812 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4596, allocations: 3.938 kB / 0.5103 GB, free: 8.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002836/0.4624, allocations: 1.806 MB / 0.5121 GB, free: 6.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4625, allocations: 8.031 kB / 0.5121 GB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4625, allocations: 8 kB / 0.5121 GB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.4636, allocations: 405.4 kB / 0.5125 GB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009186/0.4645, allocations: 235.6 kB / 0.5127 GB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006606/0.4712, allocations: 5.616 MB / 0.5182 GB, free: 448 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009544/0.4722, allocations: 63.94 kB / 0.5183 GB, free: 384 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/0.4722, allocations: 43.98 kB / 0.5183 GB, free: 340 kB / 346.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.0006344/0.4729, allocations: 357.5 kB / 0.5187 GB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.473, allocations: 71.16 kB / 0.5187 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/0.4764, allocations: 1.826 MB / 0.5205 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.4764, allocations: 12 kB / 0.5205 GB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/0.4764, allocations: 4 kB / 0.5205 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.4764, allocations: 7.984 kB / 0.5205 GB, free: 14.04 MB / 362.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.006294/0.4827, allocations: 3.462 MB / 0.5239 GB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.4828, allocations: 4.438 kB / 0.5239 GB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007682/0.4835, allocations: 187.8 kB / 0.5241 GB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/0.4846, allocations: 357.3 kB / 0.5244 GB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-05/0.4847, allocations: 28 kB / 0.5245 GB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006533/0.4912, allocations: 5.333 MB / 0.5297 GB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.4912, allocations: 4 kB / 0.5297 GB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004688/0.4959, allocations: 3.27 MB / 0.5329 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003865/0.4963, allocations: 156.2 kB / 0.533 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.4965, allocations: 27.98 kB / 0.533 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007122/0.4973, allocations: 55.95 kB / 0.5331 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.4975, allocations: 92.75 kB / 0.5332 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-05/0.4976, allocations: 36 kB / 0.5332 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004375/0.498, allocations: 323.1 kB / 0.5335 GB, free: 180 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.498, allocations: 0 / 0.5335 GB, free: 180 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001727/0.4998, allocations: 404 kB / 0.5339 GB, free: 15.78 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 (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.0002264/0.5, allocations: 134.9 kB / 0.534 GB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002869/0.5029, allocations: 1.744 MB / 0.5357 GB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.5029, allocations: 0.5625 kB / 0.5357 GB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001856/0.5048, allocations: 1.077 MB / 0.5368 GB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.5058, allocations: 127.1 kB / 0.5369 GB, free: 12.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/0.5108, allocations: 3.265 MB / 0.5401 GB, free: 9.297 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.5119, allocations: 1.216 MB / 0.5413 GB, free: 8.051 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006888/0.5127, allocations: 237.4 kB / 0.5415 GB, free: 7.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.5129, allocations: 63.42 kB / 0.5416 GB, free: 7.754 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.5129, allocations: 0 / 0.5416 GB, free: 7.754 MB / 378.7 MB Notification: Performance of Templates: time 0.02299/0.5359, allocations: 12.48 MB / 0.5538 GB, free: 11.29 MB / 394.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@2/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