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.001446/0.001446, allocations: 107.7 kB / 16.92 MB, free: 5.766 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.001628/0.001628, allocations: 191.5 kB / 17.85 MB, free: 5.172 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.33/1.33, allocations: 222.9 MB / 241.5 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1697/0.1697, allocations: 38.03 MB / 329.7 MB, free: 8.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 61.36 kB / 398.8 MB, free: 34.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.113, allocations: 58.06 MB / 456.9 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008885/0.122, allocations: 7.41 MB / 464.3 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006189/0.1282, allocations: 4.397 MB / 468.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005856/0.1288, allocations: 12 kB / 468.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.1315, allocations: 1.03 MB / 469.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002823/0.1344, allocations: 1.203 MB / 470.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008913/0.1353, allocations: 319.1 kB / 471.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001983/0.1373, allocations: 1.406 MB / 472.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.1383, allocations: 0.6728 MB / 473.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.1395, allocations: 0.6108 MB / 473.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.1406, allocations: 0.6814 MB / 474.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.1408, allocations: 60 kB / 474.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.1436, allocations: 1.329 MB / 476 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006481/0.1442, allocations: 478.9 kB / 476.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008423/0.1451, allocations: 437.9 kB / 476.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002585/0.1477, allocations: 1.453 MB / 478.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1477, allocations: 0 / 478.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1477, allocations: 0 / 478.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.51e-05/0.1477, allocations: 0 / 478.3 MB, free: 2.496 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.001992/0.1497, allocations: 1.135 MB / 479.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1498, allocations: 11.89 kB / 479.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003037/0.1528, allocations: 387.4 kB / 479.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007583/0.1536, allocations: 478.6 kB / 480.3 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.1537, allocations: 54.36 kB / 480.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.1538, allocations: 72.36 kB / 480.5 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.1556, allocations: 1.18 MB / 481.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.1557, allocations: 3.984 kB / 481.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/0.1558, allocations: 31.98 kB / 481.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-05/0.1559, allocations: 69.95 kB / 481.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.1577, allocations: 1.245 MB / 483 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005689/0.1634, allocations: 3.507 MB / 486.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.165, allocations: 1.067 MB / 487.6 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008705/0.1659, allocations: 0.6606 MB / 488.2 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.374e-05/0.166, allocations: 16.98 kB / 488.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.1661, allocations: 47.78 kB / 488.3 MB, free: 8.309 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.945e-06/0.1661, allocations: 0 / 488.3 MB, free: 8.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006615/0.1727, allocations: 3.079 MB / 491.4 MB, free: 5.203 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.1728, allocations: 90.14 kB / 491.4 MB, free: 5.098 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/0.1732, allocations: 369.5 kB / 491.8 MB, free: 4.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.1733, allocations: 41.7 kB / 491.8 MB, free: 4.684 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.1735, allocations: 320.1 kB / 492.2 MB, free: 4.363 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.1738, allocations: 311.4 kB / 492.5 MB, free: 4.055 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.1741, allocations: 158.5 kB / 492.6 MB, free: 3.895 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1743, allocations: 366.8 kB / 493 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007048/0.175, allocations: 469.7 kB / 493.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007479/0.1757, allocations: 0.5696 MB / 494 MB, free: 2.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.1772, allocations: 1.109 MB / 495.1 MB, free: 1.328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1772, allocations: 0 / 495.1 MB, free: 1.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002415/0.1797, allocations: 1.485 MB / 496.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1797, allocations: 4 kB / 496.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1797, allocations: 7.938 kB / 496.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009192/0.1806, allocations: 336.8 kB / 496.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/0.1814, allocations: 179.7 kB / 497.1 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005248/0.1866, allocations: 4.186 MB / 0.4896 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.1871, allocations: 47.94 kB / 0.4896 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.733e-05/0.1872, allocations: 39.98 kB / 0.4896 GB, free: 10.88 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.0003959/0.1876, allocations: 298.5 kB / 0.4899 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.1877, allocations: 55.34 kB / 0.49 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.1903, allocations: 1.563 MB / 0.4915 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.1903, allocations: 12 kB / 0.4915 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.1903, allocations: 8 kB / 0.4915 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.1904, allocations: 11.91 kB / 0.4915 GB, free: 8.918 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.00472/0.1951, allocations: 3.032 MB / 0.4945 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.1951, allocations: 4 kB / 0.4945 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.1957, allocations: 163.8 kB / 0.4947 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000767/0.1965, allocations: 292.9 kB / 0.4949 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/0.1966, allocations: 27.98 kB / 0.495 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00483/0.2014, allocations: 3.901 MB / 0.4988 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.2014, allocations: 4 kB / 0.4988 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2259/0.4273, allocations: 1.591 MB / 0.5003 GB, free: 55.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.4276, allocations: 146.3 kB / 0.5005 GB, free: 55.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.4277, allocations: 22.25 kB / 0.5005 GB, free: 55.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.4282, allocations: 41.48 kB / 0.5005 GB, free: 55.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.4284, allocations: 87.31 kB / 0.5006 GB, free: 55.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.638e-05/0.4285, allocations: 37.31 kB / 0.5006 GB, free: 55.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002674/0.4287, allocations: 253.7 kB / 0.5009 GB, free: 55.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4287, allocations: 2.188 kB / 0.5009 GB, free: 55.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000987/0.4297, allocations: 310.6 kB / 0.5012 GB, free: 55.72 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.0001599/0.4299, allocations: 129.7 kB / 0.5013 GB, free: 55.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002577/0.4325, allocations: 1.664 MB / 0.5029 GB, free: 55.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4325, allocations: 1.125 kB / 0.5029 GB, free: 55.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.4338, allocations: 0.8408 MB / 0.5038 GB, free: 55.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.4345, allocations: 105.3 kB / 0.5039 GB, free: 55.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.4378, allocations: 1.801 MB / 0.5056 GB, free: 54.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/0.4386, allocations: 1.071 MB / 0.5067 GB, free: 53.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005071/0.4391, allocations: 185.3 kB / 0.5068 GB, free: 53.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.4393, allocations: 65.55 kB / 0.5069 GB, free: 53.65 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4393, allocations: 0 / 0.5069 GB, free: 53.65 MB / 382.1 MB Notification: Performance of Templates: time 0.01857/0.4579, allocations: 10.13 MB / 0.5168 GB, free: 51.37 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