Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001703/0.001703, allocations: 174.9 kB / 8.348 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 2.027/2.027, allocations: 205.3 MB / 214.1 MB, free: 14.12 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.0008329/0.0008328, allocations: 90.48 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2353/0.2353, allocations: 37.99 MB / 348 MB, free: 7.762 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.524e-05/1.527e-05, allocations: 4 kB / 410.6 MB, free: 46.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1332, allocations: 56.33 MB / 466.9 MB, free: 6.559 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3704/0.5036, allocations: 98.84 MB / 0.5525 GB, free: 12.07 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5039, allocations: 83.95 kB / 0.5526 GB, free: 11.99 MB / 395.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:436:7-436:61:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1057/0.6097, allocations: 51.61 MB / 0.603 GB, free: 7.422 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.6097, allocations: 0 / 0.603 GB, free: 7.422 MB / 443.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.6097, allocations: 8 kB / 0.603 GB, free: 7.414 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001002/0.6107, allocations: 0.6826 MB / 0.6036 GB, free: 6.684 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.6108, allocations: 8.031 kB / 0.6036 GB, free: 6.676 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.6122, allocations: 119.3 kB / 0.6038 GB, free: 6.559 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.6127, allocations: 330.6 kB / 0.6041 GB, free: 6.199 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/0.6128, allocations: 43.02 kB / 0.6041 GB, free: 6.152 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.6128, allocations: 24 kB / 0.6041 GB, free: 6.129 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004641/0.6133, allocations: 298.5 kB / 0.6044 GB, free: 5.836 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006605/0.614, allocations: 0.5219 MB / 0.6049 GB, free: 5.25 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.614, allocations: 3.984 kB / 0.6049 GB, free: 5.246 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.614, allocations: 0 / 0.6049 GB, free: 5.246 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-05/0.6141, allocations: 36.75 kB / 0.605 GB, free: 5.207 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.6162, allocations: 2.529 MB / 0.6074 GB, free: 2.566 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/0.6167, allocations: 396 kB / 0.6078 GB, free: 2.148 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.6169, allocations: 206.4 kB / 0.608 GB, free: 1.938 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.617, allocations: 4 kB / 0.608 GB, free: 1.934 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.617, allocations: 38.56 kB / 0.608 GB, free: 1.887 MB / 443.1 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.617, allocations: 0 / 0.608 GB, free: 1.887 MB / 443.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006785/0.6177, allocations: 406.3 kB / 0.6084 GB, free: 1.48 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.6177, allocations: 114.7 kB / 0.6085 GB, free: 1.344 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.618, allocations: 245.2 kB / 0.6088 GB, free: 1.098 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.618, allocations: 25.7 kB / 0.6088 GB, free: 1.066 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.6182, allocations: 255.6 kB / 0.609 GB, free: 0.8086 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.022e-05/0.6182, allocations: 110.3 kB / 0.6092 GB, free: 0.6992 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.6183, allocations: 0 / 0.6092 GB, free: 0.6992 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6184, allocations: 358.7 kB / 0.6095 GB, free: 348 kB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.6186, allocations: 116.8 kB / 0.6096 GB, free: 228 kB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.6188, allocations: 255.2 kB / 0.6099 GB, free: 15.9 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.619, allocations: 169.2 kB / 0.61 GB, free: 15.74 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.619, allocations: 8 kB / 0.61 GB, free: 15.73 MB / 459.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006845/0.6197, allocations: 0.4958 MB / 0.6105 GB, free: 15.23 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6198, allocations: 8 kB / 0.6105 GB, free: 15.22 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.6198, allocations: 4 kB / 0.6105 GB, free: 15.21 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/0.6201, allocations: 109.3 kB / 0.6106 GB, free: 15.11 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.6203, allocations: 79.89 kB / 0.6107 GB, free: 15.03 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.6224, allocations: 2.248 MB / 0.6129 GB, free: 12.66 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.6226, allocations: 27.59 kB / 0.6129 GB, free: 12.63 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.6226, allocations: 20 kB / 0.6129 GB, free: 12.61 MB / 459.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.323e-05/0.6227, allocations: 124.9 kB / 0.6131 GB, free: 12.48 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/0.6228, allocations: 39.56 kB / 0.6131 GB, free: 12.44 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.41e-05/0.6229, allocations: 39.58 kB / 0.6131 GB, free: 12.4 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6229, allocations: 4 kB / 0.6131 GB, free: 12.4 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.6229, allocations: 4 kB / 0.6131 GB, free: 12.39 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6229, allocations: 0 / 0.6131 GB, free: 12.39 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.624, allocations: 0.8538 MB / 0.614 GB, free: 11.49 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.624, allocations: 4 kB / 0.614 GB, free: 11.48 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.6242, allocations: 35.98 kB / 0.614 GB, free: 11.45 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002132/0.6244, allocations: 100.9 kB / 0.6141 GB, free: 11.35 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.6244, allocations: 4 kB / 0.6141 GB, free: 11.34 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.6264, allocations: 2.241 MB / 0.6163 GB, free: 8.973 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.6264, allocations: 4.031 kB / 0.6163 GB, free: 8.969 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006535/0.6271, allocations: 0.6369 MB / 0.6169 GB, free: 8.277 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.6272, allocations: 112.7 kB / 0.617 GB, free: 8.148 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.6272, allocations: 3.953 kB / 0.617 GB, free: 8.145 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.6274, allocations: 4 kB / 0.617 GB, free: 8.141 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.6274, allocations: 24.09 kB / 0.6171 GB, free: 8.117 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.6275, allocations: 12 kB / 0.6171 GB, free: 8.105 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.6276, allocations: 192.5 kB / 0.6173 GB, free: 7.922 MB / 459.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6276, allocations: 0 / 0.6173 GB, free: 7.922 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.000647/0.6283, allocations: 147.7 kB / 0.6174 GB, free: 7.777 MB / 459.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.6284, allocations: 97.11 kB / 0.6175 GB, free: 7.676 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.0007166/0.6291, allocations: 482.5 kB / 0.618 GB, free: 7.195 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6292, allocations: 3.938 kB / 0.618 GB, free: 7.191 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.6295, allocations: 317.6 kB / 0.6183 GB, free: 6.871 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.6299, allocations: 49.19 kB / 0.6183 GB, free: 6.82 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008837/0.6308, allocations: 0.5845 MB / 0.6189 GB, free: 6.199 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.6313, allocations: 0.8856 MB / 0.6197 GB, free: 5.281 MB / 459.1 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.6314, allocations: 67.22 kB / 0.6198 GB, free: 5.219 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.6315, allocations: 19.44 kB / 0.6198 GB, free: 5.203 MB / 459.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6315, allocations: 0 / 0.6198 GB, free: 5.203 MB / 459.1 MB Notification: Performance of Templates: time 0.006633/0.6381, allocations: 3.117 MB / 0.6229 GB, free: 2.086 MB / 459.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches