Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 106.9 kB / 16.62 MB, free: 6.805 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.00125/0.00125, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.484/1.484, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1746/0.1746, allocations: 38.04 MB / 329.4 MB, free: 9.074 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.16 kB / 398.3 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1083, allocations: 58.07 MB / 456.4 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.007732/0.1161, allocations: 7.615 MB / 464 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005836/0.1219, allocations: 4.424 MB / 468.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005396/0.1225, allocations: 19.88 kB / 468.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002381/0.125, allocations: 0.9837 MB / 469.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.1277, allocations: 1.133 MB / 470.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000876/0.1286, allocations: 287.3 kB / 470.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.1303, allocations: 1.403 MB / 472.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.1314, allocations: 0.7469 MB / 473 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.1325, allocations: 0.6147 MB / 473.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.1335, allocations: 0.736 MB / 474.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.1337, allocations: 64 kB / 474.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.1361, allocations: 1.34 MB / 475.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006419/0.1367, allocations: 478.9 kB / 476.2 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007147/0.1375, allocations: 445.9 kB / 476.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.1402, allocations: 1.546 MB / 478.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1402, allocations: 0 / 478.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1402, allocations: 0 / 478.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.262e-05/0.1402, allocations: 0 / 478.2 MB, free: 2.566 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001859/0.1421, allocations: 1.124 MB / 479.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1422, allocations: 11.89 kB / 479.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003113/0.1453, allocations: 391.4 kB / 479.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006805/0.146, allocations: 478.7 kB / 480.1 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.501e-05/0.146, allocations: 54.36 kB / 480.2 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.1462, allocations: 76.3 kB / 480.3 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.1479, allocations: 1.172 MB / 481.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.148, allocations: 7.906 kB / 481.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.477e-05/0.1481, allocations: 31.98 kB / 481.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.291e-05/0.1482, allocations: 77.89 kB / 481.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.1499, allocations: 1.234 MB / 482.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004966/0.1549, allocations: 3.519 MB / 486.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.1565, allocations: 1.062 MB / 487.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008413/0.1574, allocations: 0.6528 MB / 488 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.436e-05/0.1575, allocations: 20.97 kB / 488 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.1575, allocations: 39.56 kB / 488.1 MB, free: 8.391 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.976e-06/0.1575, allocations: 4 kB / 488.1 MB, free: 8.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006662/0.1642, allocations: 3.087 MB / 491.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.1643, allocations: 90.11 kB / 491.3 MB, free: 5.164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.1647, allocations: 365.5 kB / 491.6 MB, free: 4.801 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.1648, allocations: 41.7 kB / 491.7 MB, free: 4.754 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.165, allocations: 308.1 kB / 492 MB, free: 4.445 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/0.1653, allocations: 319.4 kB / 492.3 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.1656, allocations: 166.6 kB / 492.4 MB, free: 3.961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1657, allocations: 362.8 kB / 492.8 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006639/0.1664, allocations: 469.7 kB / 493.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007698/0.1672, allocations: 0.5695 MB / 493.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.1687, allocations: 1.117 MB / 494.9 MB, free: 1.395 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1687, allocations: 0 / 494.9 MB, free: 1.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002566/0.1713, allocations: 1.469 MB / 496.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.1714, allocations: 8 kB / 496.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1714, allocations: 0 / 496.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.1724, allocations: 342.4 kB / 496.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/0.1731, allocations: 183.7 kB / 496.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005641/0.1788, allocations: 4.194 MB / 0.4894 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.1794, allocations: 52.02 kB / 0.4894 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.1795, allocations: 31.98 kB / 0.4895 GB, free: 10.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005585/0.1801, allocations: 298.4 kB / 0.4897 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.1803, allocations: 55.34 kB / 0.4898 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/0.1832, allocations: 1.567 MB / 0.4913 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.1832, allocations: 12 kB / 0.4913 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.1832, allocations: 4 kB / 0.4913 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.1832, allocations: 3.984 kB / 0.4913 GB, free: 8.996 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.00519/0.1884, allocations: 3.04 MB / 0.4943 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.1885, allocations: 4 kB / 0.4943 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006552/0.1891, allocations: 168.2 kB / 0.4945 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008169/0.1899, allocations: 292.5 kB / 0.4948 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.034e-05/0.19, allocations: 23.98 kB / 0.4948 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005427/0.1955, allocations: 3.899 MB / 0.4986 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.1955, allocations: 7.938 kB / 0.4986 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2184/0.4139, allocations: 1.591 MB / 0.5001 GB, free: 55.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.4142, allocations: 145.5 kB / 0.5003 GB, free: 55.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/0.4144, allocations: 23.88 kB / 0.5003 GB, free: 55.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006328/0.4151, allocations: 40.83 kB / 0.5003 GB, free: 55.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/0.4153, allocations: 82.28 kB / 0.5004 GB, free: 55.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.791e-05/0.4154, allocations: 37.75 kB / 0.5005 GB, free: 55.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003388/0.4158, allocations: 259.1 kB / 0.5007 GB, free: 55.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.202e-06/0.4158, allocations: 0 / 0.5007 GB, free: 55.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001208/0.417, allocations: 312.2 kB / 0.501 GB, free: 55.77 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001908/0.4172, allocations: 122.9 kB / 0.5011 GB, free: 55.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002877/0.4201, allocations: 1.676 MB / 0.5028 GB, free: 55.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.4201, allocations: 1.125 kB / 0.5028 GB, free: 55.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.4213, allocations: 0.8406 MB / 0.5036 GB, free: 55.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.422, allocations: 101.9 kB / 0.5037 GB, free: 55.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.425, allocations: 2.153 MB / 0.5058 GB, free: 54.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006587/0.4257, allocations: 1.074 MB / 0.5068 GB, free: 53.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004955/0.4262, allocations: 182 kB / 0.507 GB, free: 53.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.4264, allocations: 64.98 kB / 0.5071 GB, free: 53.37 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4264, allocations: 0 / 0.5071 GB, free: 53.37 MB / 382.1 MB Notification: Performance of Templates: time 0.01858/0.445, allocations: 10.16 MB / 0.517 GB, free: 51.22 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches