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.001122/0.001122, allocations: 101 kB / 17.59 MB, free: 5.422 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.001097/0.001097, allocations: 191.3 kB / 18.51 MB, free: 4.5 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.341/1.341, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.183/0.183, allocations: 38.03 MB / 330.4 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.67 kB / 399.5 MB, free: 34.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.0911, allocations: 58.06 MB / 457.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.007855/0.09898, allocations: 7.43 MB / 465 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005462/0.1045, allocations: 4.44 MB / 469.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004551/0.105, allocations: 12 kB / 469.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.1074, allocations: 1.03 MB / 470.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002831/0.1102, allocations: 1.273 MB / 471.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000923/0.1112, allocations: 347 kB / 472.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.1127, allocations: 1.403 MB / 473.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.1137, allocations: 0.8164 MB / 474.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.1147, allocations: 0.6303 MB / 474.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009973/0.1158, allocations: 0.7399 MB / 475.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.1159, allocations: 80 kB / 475.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.1185, allocations: 1.528 MB / 477.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005973/0.1191, allocations: 0.5962 MB / 477.8 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008051/0.1199, allocations: 0.5716 MB / 478.4 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.1227, allocations: 1.862 MB / 480.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1227, allocations: 0 / 480.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1227, allocations: 0 / 480.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.704e-05/0.1227, allocations: 0 / 480.3 MB, free: 1.223 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.002187/0.1249, allocations: 1.334 MB / 481.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.125, allocations: 11.89 kB / 481.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003888/0.1289, allocations: 0.5379 MB / 482.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/0.1298, allocations: 0.5597 MB / 482.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/0.1298, allocations: 66.36 kB / 482.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.13, allocations: 84.36 kB / 482.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.1322, allocations: 1.505 MB / 484.4 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.1322, allocations: 7.906 kB / 484.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.1324, allocations: 43.97 kB / 484.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.1325, allocations: 94.02 kB / 484.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.1347, allocations: 1.546 MB / 486.1 MB, free: 11.3 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.007267/0.142, allocations: 4.923 MB / 491 MB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.1439, allocations: 1.177 MB / 492.2 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.1449, allocations: 0.7646 MB / 492.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.302e-05/0.145, allocations: 21.05 kB / 492.9 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.145, allocations: 47.56 kB / 493 MB, free: 4.121 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 3.286e-06/0.1451, allocations: 0 / 493 MB, free: 4.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.008071/0.1531, allocations: 3.685 MB / 496.7 MB, free: 392 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.1532, allocations: 90.09 kB / 496.8 MB, free: 284 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006632/0.1539, allocations: 473.8 kB / 497.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.333e-05/0.154, allocations: 41.7 kB / 497.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.1543, allocations: 423.4 kB / 497.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.1547, allocations: 370.6 kB / 498 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/0.155, allocations: 202.8 kB / 498.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1552, allocations: 386.8 kB / 498.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000813/0.156, allocations: 0.5374 MB / 499.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.157, allocations: 0.7539 MB / 499.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/0.159, allocations: 1.4 MB / 0.4896 GB, free: 11.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.159, allocations: 3.938 kB / 0.4896 GB, free: 11.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003492/0.1625, allocations: 1.802 MB / 0.4913 GB, free: 9.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.1625, allocations: 12.06 kB / 0.4913 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.1626, allocations: 8 kB / 0.4913 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.1637, allocations: 411 kB / 0.4917 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009164/0.1647, allocations: 235.6 kB / 0.492 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007133/0.1718, allocations: 6.077 MB / 0.4979 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007778/0.1726, allocations: 59.94 kB / 0.498 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.1728, allocations: 43.98 kB / 0.498 GB, free: 2.57 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.0005571/0.1733, allocations: 373.3 kB / 0.4984 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.1735, allocations: 71.16 kB / 0.4984 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/0.1765, allocations: 1.807 MB / 0.5002 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.1766, allocations: 15.94 kB / 0.5002 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.1766, allocations: 7.938 kB / 0.5002 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.1766, allocations: 7.969 kB / 0.5002 GB, free: 284 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.1939/0.3705, allocations: 3.458 MB / 0.5036 GB, free: 55.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.3706, allocations: 5.188 kB / 0.5036 GB, free: 55.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008053/0.3714, allocations: 189.3 kB / 0.5038 GB, free: 55.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.3724, allocations: 357.2 kB / 0.5041 GB, free: 55.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.892e-05/0.3725, allocations: 30.97 kB / 0.5041 GB, free: 55.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00657/0.3791, allocations: 5.782 MB / 0.5098 GB, free: 51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.3791, allocations: 4.531 kB / 0.5098 GB, free: 51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003122/0.3822, allocations: 1.824 MB / 0.5116 GB, free: 50.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.3825, allocations: 163.7 kB / 0.5117 GB, free: 50.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.3826, allocations: 26.75 kB / 0.5118 GB, free: 50.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.3832, allocations: 57.52 kB / 0.5118 GB, free: 50.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/0.3835, allocations: 94.25 kB / 0.5119 GB, free: 50.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.964e-05/0.3836, allocations: 36.73 kB / 0.5119 GB, free: 50.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004555/0.384, allocations: 327.1 kB / 0.5123 GB, free: 49.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.384, allocations: 3.719 kB / 0.5123 GB, free: 49.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001663/0.3857, allocations: 395 kB / 0.5126 GB, free: 49.84 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.0001892/0.3859, allocations: 126.8 kB / 0.5128 GB, free: 49.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003752/0.3897, allocations: 2.132 MB / 0.5148 GB, free: 48.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3897, allocations: 0 / 0.5148 GB, free: 48.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.3913, allocations: 1.083 MB / 0.5159 GB, free: 48.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008342/0.3921, allocations: 123.3 kB / 0.516 GB, free: 48.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.3959, allocations: 2.321 MB / 0.5183 GB, free: 47.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008656/0.3967, allocations: 1.169 MB / 0.5194 GB, free: 46.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.3971, allocations: 75.19 kB / 0.5195 GB, free: 46.55 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3971, allocations: 0 / 0.5195 GB, free: 46.55 MB / 382.1 MB Notification: Performance of Templates: time 0.02099/0.4181, allocations: 18.08 MB / 0.5372 GB, free: 33.6 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/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