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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.1 MB / 223.1 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001349/0.001349, allocations: 107.9 kB / 270.5 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1725/0.1725, allocations: 38 MB / 355.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 43.92 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4663, allocations: 55.24 MB / 477.1 MB, free: 9.902 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.0159/0.4822, allocations: 8.09 MB / 485.2 MB, free: 4.188 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.4936, allocations: 4.958 MB / 490.1 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.4951, allocations: 20.12 kB / 490.2 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003737/0.4988, allocations: 1.044 MB / 491.2 MB, free: 72 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005815/0.5047, allocations: 1.196 MB / 492.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.5064, allocations: 332.9 kB / 492.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006172/0.5126, allocations: 2.697 MB / 495.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.5149, allocations: 0.6716 MB / 496.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.5173, allocations: 0.5295 MB / 496.6 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002281/0.5196, allocations: 0.76 MB / 497.4 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.5198, allocations: 50.03 kB / 497.4 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005152/0.525, allocations: 1.74 MB / 499.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.526, allocations: 485.6 kB / 499.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009073/0.527, allocations: 443.9 kB / 0.4884 GB, free: 12.2 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004378/0.5314, allocations: 1.61 MB / 0.4899 GB, free: 11.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.5314, allocations: 1.281 kB / 0.4899 GB, free: 11.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5314, allocations: 4 kB / 0.4899 GB, free: 11.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.5314, allocations: 0 / 0.4899 GB, free: 11.24 MB / 330.7 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.00317/0.5346, allocations: 1.161 MB / 0.4911 GB, free: 10.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.5347, allocations: 8.469 kB / 0.4911 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005309/0.54, allocations: 410.3 kB / 0.4915 GB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.5415, allocations: 492.1 kB / 0.4919 GB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.875e-05/0.5417, allocations: 63.55 kB / 0.492 GB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/0.5419, allocations: 76.78 kB / 0.4921 GB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/0.5454, allocations: 1.231 MB / 0.4933 GB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.97e-05/0.5455, allocations: 2.406 kB / 0.4933 GB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.5456, allocations: 29.86 kB / 0.4933 GB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/0.5458, allocations: 78.58 kB / 0.4934 GB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0034/0.5492, allocations: 1.321 MB / 0.4947 GB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008784/0.558, allocations: 3.698 MB / 0.4983 GB, free: 5.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.5605, allocations: 1.089 MB / 0.4993 GB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.5617, allocations: 0.6409 MB / 0.5 GB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.601e-05/0.5618, allocations: 21.12 kB / 0.5 GB, free: 3.805 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.5618, allocations: 47.55 kB / 0.5 GB, free: 3.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 5.089e-06/0.5619, allocations: 4 kB / 0.5 GB, free: 3.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.01046/0.5723, allocations: 3.147 MB / 0.5031 GB, free: 0.5742 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.5724, allocations: 90.11 kB / 0.5032 GB, free: 480 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006548/0.5731, allocations: 381.6 kB / 0.5036 GB, free: 92 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.894e-05/0.5732, allocations: 41.7 kB / 0.5036 GB, free: 44 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000296/0.5735, allocations: 320.1 kB / 0.5039 GB, free: 15.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003897/0.5739, allocations: 319.4 kB / 0.5042 GB, free: 15.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/0.5743, allocations: 166.5 kB / 0.5044 GB, free: 15.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.5745, allocations: 366.8 kB / 0.5047 GB, free: 14.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.5756, allocations: 465.7 kB / 0.5052 GB, free: 14.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.5769, allocations: 0.5782 MB / 0.5057 GB, free: 13.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002347/0.5793, allocations: 1.11 MB / 0.5068 GB, free: 12.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.5793, allocations: 0 / 0.5068 GB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003797/0.5831, allocations: 1.489 MB / 0.5083 GB, free: 11.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.5832, allocations: 8 kB / 0.5083 GB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.5832, allocations: 0 / 0.5083 GB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.5846, allocations: 344.7 kB / 0.5086 GB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.5857, allocations: 179.7 kB / 0.5088 GB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007541/0.5933, allocations: 3.857 MB / 0.5125 GB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.5945, allocations: 47.95 kB / 0.5126 GB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.5946, allocations: 31.98 kB / 0.5126 GB, free: 6.539 MB / 346.7 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.000835/0.5954, allocations: 309.5 kB / 0.5129 GB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.5956, allocations: 59.25 kB / 0.513 GB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004088/0.5997, allocations: 1.547 MB / 0.5145 GB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.5998, allocations: 12 kB / 0.5145 GB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.5998, allocations: 7.938 kB / 0.5145 GB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.5998, allocations: 7.969 kB / 0.5145 GB, free: 4.582 MB / 346.7 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.007457/0.6073, allocations: 3.014 MB / 0.5175 GB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.6073, allocations: 4 kB / 0.5175 GB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009204/0.6083, allocations: 167.7 kB / 0.5176 GB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.6095, allocations: 288.6 kB / 0.5179 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.6096, allocations: 24 kB / 0.5179 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007168/0.6168, allocations: 3.602 MB / 0.5214 GB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/0.6169, allocations: 4 kB / 0.5214 GB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005913/0.6228, allocations: 2.86 MB / 0.5242 GB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/0.6232, allocations: 148.3 kB / 0.5244 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.6234, allocations: 27.94 kB / 0.5244 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008404/0.6243, allocations: 39.97 kB / 0.5244 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.6246, allocations: 80.83 kB / 0.5245 GB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.6247, allocations: 35.98 kB / 0.5245 GB, free: 9.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005028/0.6253, allocations: 267.1 kB / 0.5248 GB, free: 9.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6253, allocations: 0 / 0.5248 GB, free: 9.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002091/0.6274, allocations: 308 kB / 0.5251 GB, free: 9.34 MB / 362.7 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.000241/0.6276, allocations: 131.1 kB / 0.5252 GB, free: 9.203 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003407/0.631, allocations: 1.386 MB / 0.5266 GB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6311, allocations: 0 / 0.5266 GB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.633, allocations: 0.8398 MB / 0.5274 GB, free: 6.953 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.6343, allocations: 114.5 kB / 0.5275 GB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004523/0.6388, allocations: 2.704 MB / 0.5301 GB, free: 4.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009098/0.6398, allocations: 1.122 MB / 0.5312 GB, free: 2.898 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005388/0.6403, allocations: 180.7 kB / 0.5314 GB, free: 2.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.6406, allocations: 63.41 kB / 0.5315 GB, free: 2.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.452e-06/0.6406, allocations: 0 / 0.5315 GB, free: 2.66 MB / 362.7 MB Notification: Performance of Templates: time 0.01927/0.6598, allocations: 10.14 MB / 0.5414 GB, free: 8.523 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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