Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,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.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,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.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006658/0.0006659, allocations: 93.06 kB / 16.65 MB, free: 6.535 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.0008892/0.0008892, allocations: 175.9 kB / 17.56 MB, free: 6.18 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.173/1.173, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1555/0.1555, allocations: 38.08 MB / 330.8 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002661/0.0002661, allocations: 8 kB / 400.7 MB, free: 34.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08523/0.08551, allocations: 59.17 MB / 459.9 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.006194/0.09173, allocations: 7.633 MB / 467.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005079/0.09683, allocations: 4.826 MB / 472.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003345/0.09719, allocations: 19.94 kB / 472.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.09751, allocations: 135 kB / 472.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.09963, allocations: 1.196 MB / 473.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007004/0.1003, allocations: 335.2 kB / 474 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002334/0.1027, allocations: 2.678 MB / 476.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.1046, allocations: 1.228 MB / 477.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007215/0.1053, allocations: 497.5 kB / 478.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007616/0.1061, allocations: 0.7086 MB / 479.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.538e-05/0.1062, allocations: 32 kB / 479.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.1085, allocations: 1.715 MB / 480.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.1088, allocations: 462.8 kB / 481.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003494/0.1092, allocations: 431.5 kB / 481.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.1106, allocations: 1.589 MB / 483.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1107, allocations: 4 kB / 483.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1107, allocations: 4 kB / 483.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1107, allocations: 0 / 483.3 MB, free: 15.54 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001237/0.1119, allocations: 1.007 MB / 484.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.112, allocations: 16.03 kB / 484.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/0.1149, allocations: 411.3 kB / 484.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005781/0.1155, allocations: 491.3 kB / 485.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.1156, allocations: 58.36 kB / 485.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.1157, allocations: 84.28 kB / 485.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.1173, allocations: 1.227 MB / 486.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.1173, allocations: 4 kB / 486.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.1174, allocations: 27.98 kB / 486.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.504e-05/0.1175, allocations: 81.89 kB / 486.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.1192, allocations: 1.315 MB / 488 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00465/0.1238, allocations: 3.724 MB / 491.8 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.1254, allocations: 1.093 MB / 492.8 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007434/0.1262, allocations: 0.6409 MB / 493.5 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.912e-05/0.1262, allocations: 17.14 kB / 493.5 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1263, allocations: 51.48 kB / 493.6 MB, free: 5.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.324e-06/0.1263, allocations: 4 kB / 493.6 MB, free: 5.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006/0.1323, allocations: 3.153 MB / 496.7 MB, free: 1.871 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.1323, allocations: 90.11 kB / 496.8 MB, free: 1.766 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.1327, allocations: 381.6 kB / 497.2 MB, free: 1.387 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.1327, allocations: 33.7 kB / 497.2 MB, free: 1.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.1329, allocations: 336 kB / 497.5 MB, free: 1.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.1331, allocations: 323.3 kB / 497.8 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.179e-05/0.1332, allocations: 73.72 kB / 497.9 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1333, allocations: 370.8 kB / 498.3 MB, free: 248 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005949/0.1339, allocations: 465.8 kB / 498.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006587/0.1346, allocations: 0.5743 MB / 499.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.136, allocations: 1.122 MB / 0.4887 GB, free: 14.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.136, allocations: 0 / 0.4887 GB, free: 14.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002165/0.1381, allocations: 1.481 MB / 0.4902 GB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1382, allocations: 4 kB / 0.4902 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1382, allocations: 4 kB / 0.4902 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000823/0.139, allocations: 332.8 kB / 0.4905 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.1396, allocations: 191.7 kB / 0.4907 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00437/0.144, allocations: 3.866 MB / 0.4944 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/0.1444, allocations: 47.94 kB / 0.4945 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/0.1445, allocations: 35.98 kB / 0.4945 GB, free: 7.891 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0003256/0.1448, allocations: 297.5 kB / 0.4948 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.1449, allocations: 59.33 kB / 0.4949 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.1473, allocations: 1.551 MB / 0.4964 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.1474, allocations: 12 kB / 0.4964 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1474, allocations: 7.938 kB / 0.4964 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.1474, allocations: 7.984 kB / 0.4964 GB, free: 5.941 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.004141/0.1515, allocations: 3.018 MB / 0.4993 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1515, allocations: 4 kB / 0.4993 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/0.1521, allocations: 159.8 kB / 0.4995 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007065/0.1528, allocations: 289.4 kB / 0.4998 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.1529, allocations: 35.98 kB / 0.4998 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1756/0.3285, allocations: 3.582 MB / 0.5033 GB, free: 54.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.3285, allocations: 6.844 kB / 0.5033 GB, free: 54.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.3308, allocations: 1.574 MB / 0.5049 GB, free: 54.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.331, allocations: 147.4 kB / 0.505 GB, free: 54.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.331, allocations: 27.36 kB / 0.505 GB, free: 54.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.3315, allocations: 41.7 kB / 0.5051 GB, free: 54.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.3316, allocations: 81.34 kB / 0.5051 GB, free: 54.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.3317, allocations: 36 kB / 0.5052 GB, free: 54.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.3319, allocations: 275.5 kB / 0.5054 GB, free: 54.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3319, allocations: 0 / 0.5054 GB, free: 54.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000894/0.3328, allocations: 310.9 kB / 0.5057 GB, free: 54.02 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.0001296/0.333, allocations: 124.7 kB / 0.5058 GB, free: 53.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.3348, allocations: 1.389 MB / 0.5072 GB, free: 53.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3348, allocations: 0 / 0.5072 GB, free: 53.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.3359, allocations: 0.8367 MB / 0.508 GB, free: 53.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007288/0.3366, allocations: 104.9 kB / 0.5081 GB, free: 53.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.3392, allocations: 2.206 MB / 0.5103 GB, free: 52.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/0.3399, allocations: 1.083 MB / 0.5113 GB, free: 51.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004553/0.3403, allocations: 180.8 kB / 0.5115 GB, free: 51.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.3405, allocations: 69.78 kB / 0.5116 GB, free: 51.31 MB / 382.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3405, allocations: 0 / 0.5116 GB, free: 51.31 MB / 382.1 MB Notification: Performance of Templates: time 0.01349/0.354, allocations: 9.331 MB / 0.5207 GB, free: 48.9 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches