Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.NetworkLoop,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") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009962/0.0009963, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009654/0.0009654, allocations: 86.73 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1836/0.1836, allocations: 38 MB / 348 MB, free: 7.781 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.424e-05/2.427e-05, allocations: 4 kB / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1435, allocations: 56.32 MB / 466.9 MB, free: 6.57 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5811, allocations: 95.09 MB / 0.5488 GB, free: 15.87 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.5814, allocations: 75.95 kB / 0.5489 GB, free: 15.79 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1252/0.7065, allocations: 54.35 MB / 0.602 GB, free: 8.754 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.7066, allocations: 4 kB / 0.602 GB, free: 8.75 MB / 443.1 MB Notification: Performance of Transformations before backend: time 2.541e-05/0.7066, allocations: 12 kB / 0.602 GB, free: 8.738 MB / 443.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.001594/0.7082, allocations: 0.9683 MB / 0.6029 GB, free: 7.723 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.7083, allocations: 8.031 kB / 0.6029 GB, free: 7.715 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/0.7113, allocations: 398.5 kB / 0.6033 GB, free: 7.324 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.712, allocations: 491.5 kB / 0.6038 GB, free: 6.805 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.7121, allocations: 20 kB / 0.6038 GB, free: 6.785 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.7122, allocations: 47.91 kB / 0.6038 GB, free: 6.738 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001342/0.7135, allocations: 0.9019 MB / 0.6047 GB, free: 5.836 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.7151, allocations: 1.035 MB / 0.6057 GB, free: 4.777 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.7151, allocations: 0 / 0.6057 GB, free: 4.777 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-05/0.7152, allocations: 3.953 kB / 0.6057 GB, free: 4.773 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002706/0.7154, allocations: 97.91 kB / 0.6058 GB, free: 4.676 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004916/0.7204, allocations: 3.379 MB / 0.6091 GB, free: 1.211 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.7217, allocations: 0.9986 MB / 0.6101 GB, free: 196 kB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007155/0.7225, allocations: 0.5975 MB / 0.6107 GB, free: 15.59 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.561e-05/0.7225, allocations: 20.75 kB / 0.6107 GB, free: 15.57 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.7226, allocations: 51.33 kB / 0.6108 GB, free: 15.51 MB / 459.1 MB Notification: Performance of pre-optimization done (n=91): time 2.876e-06/0.7226, allocations: 0 / 0.6108 GB, free: 15.51 MB / 459.1 MB Notification: Performance of matching and sorting (n=92): time 0.003143/0.7257, allocations: 1.891 MB / 0.6126 GB, free: 13.61 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.7258, allocations: 85.89 kB / 0.6127 GB, free: 13.5 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.7262, allocations: 294.3 kB / 0.613 GB, free: 13.21 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.7262, allocations: 25.7 kB / 0.613 GB, free: 13.18 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.7264, allocations: 312.1 kB / 0.6133 GB, free: 12.86 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/0.7267, allocations: 303.5 kB / 0.6136 GB, free: 12.56 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.7268, allocations: 4.031 kB / 0.6136 GB, free: 12.56 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.7269, allocations: 366.8 kB / 0.6139 GB, free: 12.19 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/0.7275, allocations: 410.5 kB / 0.6143 GB, free: 11.79 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/0.7281, allocations: 0.5114 MB / 0.6148 GB, free: 11.25 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/0.7288, allocations: 0.4885 MB / 0.6153 GB, free: 10.77 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7288, allocations: 0 / 0.6153 GB, free: 10.77 MB / 459.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002071/0.7309, allocations: 1.317 MB / 0.6166 GB, free: 9.441 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.7309, allocations: 8 kB / 0.6166 GB, free: 9.434 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.7309, allocations: 3.953 kB / 0.6166 GB, free: 9.43 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000852/0.7318, allocations: 311 kB / 0.6169 GB, free: 9.125 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.7325, allocations: 183.7 kB / 0.6171 GB, free: 8.945 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/0.7372, allocations: 3.769 MB / 0.6208 GB, free: 5.031 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005792/0.7378, allocations: 43.92 kB / 0.6208 GB, free: 4.988 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.7378, allocations: 39.94 kB / 0.6208 GB, free: 4.949 MB / 459.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.738, allocations: 112.9 kB / 0.6209 GB, free: 4.832 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.7381, allocations: 59.41 kB / 0.621 GB, free: 4.773 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.7405, allocations: 1.43 MB / 0.6224 GB, free: 3.328 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.7405, allocations: 8 kB / 0.6224 GB, free: 3.32 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.7406, allocations: 12 kB / 0.6224 GB, free: 3.309 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.7406, allocations: 11.88 kB / 0.6224 GB, free: 3.297 MB / 459.1 MB Warning: The model contains alias variables with conflicting start and/or 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.004314/0.7449, allocations: 2.773 MB / 0.6251 GB, free: 420 kB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.7449, allocations: 4 kB / 0.6251 GB, free: 416 kB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000619/0.7455, allocations: 175.7 kB / 0.6253 GB, free: 240 kB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007287/0.7463, allocations: 269.1 kB / 0.6256 GB, free: 15.96 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.7463, allocations: 11.94 kB / 0.6256 GB, free: 15.96 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004137/0.7505, allocations: 3.484 MB / 0.629 GB, free: 12.34 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.7505, allocations: 8.062 kB / 0.629 GB, free: 12.33 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.7527, allocations: 1.645 MB / 0.6306 GB, free: 10.53 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.7529, allocations: 144.3 kB / 0.6307 GB, free: 10.37 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.753, allocations: 7.984 kB / 0.6307 GB, free: 10.36 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.7535, allocations: 32.05 kB / 0.6308 GB, free: 10.33 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.7536, allocations: 84.56 kB / 0.6308 GB, free: 10.25 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.7536, allocations: 28 kB / 0.6309 GB, free: 10.22 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0002339/0.7539, allocations: 228.6 kB / 0.6311 GB, free: 10 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7539, allocations: 0 / 0.6311 GB, free: 10 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.0009604/0.7549, allocations: 280 kB / 0.6314 GB, free: 9.727 MB / 475.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001831/0.7551, allocations: 119 kB / 0.6315 GB, free: 9.602 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.7568, allocations: 1.264 MB / 0.6327 GB, free: 8.324 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7568, allocations: 0 / 0.6327 GB, free: 8.324 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.7579, allocations: 0.7705 MB / 0.6335 GB, free: 7.543 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.7584, allocations: 69.91 kB / 0.6335 GB, free: 7.473 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.7607, allocations: 1.423 MB / 0.6349 GB, free: 5.977 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/0.7614, allocations: 1.085 MB / 0.636 GB, free: 4.863 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.0004472/0.7619, allocations: 176.6 kB / 0.6361 GB, free: 4.691 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.762, allocations: 59.41 kB / 0.6362 GB, free: 4.637 MB / 475.1 MB Notification: Performance of SimCode: time 4.31e-07/0.762, allocations: 0 / 0.6362 GB, free: 4.637 MB / 475.1 MB Notification: Performance of Templates: time 0.2362/0.9983, allocations: 8.609 MB / 0.6446 GB, free: 125.3 MB / 475.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches