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.001639/0.001639, allocations: 110.9 kB / 17.68 MB, free: 5.332 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.001873/0.001874, allocations: 192 kB / 18.62 MB, free: 4.41 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.765/1.765, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2132/0.2132, allocations: 38.04 MB / 330.5 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002499/0.0025, allocations: 62.66 kB / 400.2 MB, free: 33.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1792, allocations: 58.07 MB / 458.3 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.01345/0.1928, allocations: 7.421 MB / 465.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009167/0.202, allocations: 4.447 MB / 470.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000835/0.2029, allocations: 16 kB / 470.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003611/0.2066, allocations: 1.041 MB / 471.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005146/0.2118, allocations: 1.261 MB / 472.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.2134, allocations: 347 kB / 472.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002908/0.2163, allocations: 1.399 MB / 474.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.218, allocations: 0.8046 MB / 475 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.2196, allocations: 0.6459 MB / 475.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.2206, allocations: 0.7321 MB / 476.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.2208, allocations: 80 kB / 476.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003163/0.2239, allocations: 1.52 MB / 478 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005946/0.2245, allocations: 0.6079 MB / 478.6 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006962/0.2252, allocations: 0.5599 MB / 479.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003247/0.2285, allocations: 1.882 MB / 481.1 MB, free: 492 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.2285, allocations: 4 kB / 481.1 MB, free: 488 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.277e-06/0.2285, allocations: 0 / 481.1 MB, free: 488 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.2286, allocations: 0 / 481.1 MB, free: 488 kB / 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.002416/0.231, allocations: 1.33 MB / 482.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.2311, allocations: 11.89 kB / 482.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004029/0.2351, allocations: 0.5418 MB / 483 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.2363, allocations: 0.5598 MB / 483.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.2364, allocations: 66.36 kB / 483.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.2366, allocations: 92.36 kB / 483.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.239, allocations: 1.505 MB / 485.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.2391, allocations: 7.906 kB / 485.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.482e-05/0.2392, allocations: 35.98 kB / 485.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/0.2393, allocations: 98 kB / 485.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.2417, allocations: 1.554 MB / 486.9 MB, free: 10.54 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.008397/0.2501, allocations: 4.888 MB / 491.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.2522, allocations: 1.177 MB / 492.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.2533, allocations: 0.7646 MB / 493.7 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.494e-05/0.2535, allocations: 25.06 kB / 493.7 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.2535, allocations: 43.56 kB / 493.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 3.777e-06/0.2535, allocations: 0 / 493.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.008419/0.262, allocations: 3.681 MB / 497.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.2621, allocations: 90.11 kB / 497.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000703/0.2628, allocations: 469.8 kB / 498 MB, free: 15.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.433e-05/0.2629, allocations: 41.7 kB / 498 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.2633, allocations: 435.4 kB / 498.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000405/0.2637, allocations: 370.6 kB / 498.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003607/0.264, allocations: 202.8 kB / 499 MB, free: 14.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.2643, allocations: 382.8 kB / 499.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008344/0.2651, allocations: 0.5412 MB / 499.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.2662, allocations: 0.75 MB / 0.4889 GB, free: 12.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.2683, allocations: 1.4 MB / 0.4903 GB, free: 10.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/0.2683, allocations: 11.94 kB / 0.4903 GB, free: 10.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003198/0.2715, allocations: 1.802 MB / 0.4921 GB, free: 8.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.2715, allocations: 11.94 kB / 0.4921 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.2716, allocations: 4 kB / 0.4921 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.2727, allocations: 407.3 kB / 0.4925 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000889/0.2736, allocations: 231.6 kB / 0.4927 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008291/0.2819, allocations: 6.054 MB / 0.4986 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009301/0.2829, allocations: 71.92 kB / 0.4987 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.283, allocations: 43.98 kB / 0.4987 GB, free: 1.859 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.0008029/0.2838, allocations: 373.4 kB / 0.4991 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.284, allocations: 71.16 kB / 0.4992 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3678/0.6518, allocations: 1.802 MB / 0.5009 GB, free: 55.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-05/0.6519, allocations: 12.31 kB / 0.5009 GB, free: 55.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.946e-05/0.652, allocations: 7.312 kB / 0.5009 GB, free: 55.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.945e-05/0.652, allocations: 10.66 kB / 0.5009 GB, free: 55.34 MB / 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.01141/0.6635, allocations: 3.457 MB / 0.5043 GB, free: 54.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.65e-05/0.6635, allocations: 7.234 kB / 0.5043 GB, free: 54.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.6646, allocations: 192.6 kB / 0.5045 GB, free: 54.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/0.6659, allocations: 348.9 kB / 0.5048 GB, free: 54.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/0.6662, allocations: 27.12 kB / 0.5049 GB, free: 54.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009141/0.6753, allocations: 5.782 MB / 0.5105 GB, free: 50.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/0.6754, allocations: 8.875 kB / 0.5105 GB, free: 50.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004136/0.6795, allocations: 1.826 MB / 0.5123 GB, free: 49.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/0.68, allocations: 158 kB / 0.5125 GB, free: 49.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.6801, allocations: 25.81 kB / 0.5125 GB, free: 49.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006895/0.6808, allocations: 54.22 kB / 0.5125 GB, free: 49.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003556/0.6812, allocations: 98.77 kB / 0.5126 GB, free: 49.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.6813, allocations: 36.3 kB / 0.5127 GB, free: 49.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006155/0.682, allocations: 329.5 kB / 0.513 GB, free: 49.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.682, allocations: 0 / 0.513 GB, free: 49.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002178/0.6842, allocations: 397.6 kB / 0.5134 GB, free: 49.23 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.0002676/0.6844, allocations: 133.6 kB / 0.5135 GB, free: 49.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003764/0.6882, allocations: 1.754 MB / 0.5152 GB, free: 48.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.6883, allocations: 0 / 0.5152 GB, free: 48.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.6902, allocations: 1.083 MB / 0.5163 GB, free: 47.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.6914, allocations: 125 kB / 0.5164 GB, free: 47.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.696, allocations: 2.202 MB / 0.5185 GB, free: 46.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.6971, allocations: 1.178 MB / 0.5197 GB, free: 46.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000635/0.6977, allocations: 233.2 kB / 0.5199 GB, free: 46.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.698, allocations: 65.97 kB / 0.52 GB, free: 46.01 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.698, allocations: 0 / 0.52 GB, free: 46.01 MB / 382.1 MB Notification: Performance of Templates: time 0.01945/0.7175, allocations: 12.44 MB / 0.5321 GB, free: 38.86 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 -s cvode -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","/var/lib/jenkins1/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