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.00112/0.00112, allocations: 115.5 kB / 17.69 MB, free: 5.312 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.001061/0.001061, allocations: 191 kB / 18.63 MB, free: 4.379 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.365/1.365, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1823/0.1823, allocations: 38.03 MB / 330.5 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 66.39 kB / 400.3 MB, free: 33.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1059, allocations: 58.06 MB / 458.3 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008333/0.1143, allocations: 7.421 MB / 465.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00587/0.1202, allocations: 4.401 MB / 470.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005717/0.1208, allocations: 12 kB / 470.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002618/0.1234, allocations: 1.042 MB / 471.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.1263, allocations: 1.191 MB / 472.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.1274, allocations: 327.1 kB / 472.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.1291, allocations: 1.395 MB / 474.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009002/0.13, allocations: 0.6533 MB / 474.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009478/0.131, allocations: 0.6147 MB / 475.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008042/0.1318, allocations: 0.6813 MB / 476 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.812e-05/0.1319, allocations: 64 kB / 476.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.1343, allocations: 1.337 MB / 477.4 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004417/0.1347, allocations: 467 kB / 477.9 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004938/0.1352, allocations: 449.9 kB / 478.3 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.1371, allocations: 1.453 MB / 479.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1371, allocations: 0 / 479.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1371, allocations: 0 / 479.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1371, allocations: 0 / 479.8 MB, free: 1.766 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.001605/0.1387, allocations: 1.132 MB / 480.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1388, allocations: 11.89 kB / 480.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003156/0.142, allocations: 391.4 kB / 481.3 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008652/0.1428, allocations: 486.6 kB / 481.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.692e-05/0.1429, allocations: 58.36 kB / 481.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.143, allocations: 72.36 kB / 481.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.1447, allocations: 1.176 MB / 483.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.1447, allocations: 4 kB / 483.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-05/0.1448, allocations: 27.98 kB / 483.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.1449, allocations: 73.95 kB / 483.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.1467, allocations: 1.245 MB / 484.4 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005161/0.1519, allocations: 3.491 MB / 487.9 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.1535, allocations: 1.062 MB / 489 MB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008318/0.1543, allocations: 0.6644 MB / 489.7 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.694e-05/0.1544, allocations: 9 kB / 489.7 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.1544, allocations: 43.56 kB / 489.7 MB, free: 7.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.465e-06/0.1544, allocations: 0 / 489.7 MB, free: 7.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006298/0.1607, allocations: 3.087 MB / 492.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.1608, allocations: 94.14 kB / 492.9 MB, free: 4.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.1612, allocations: 365.5 kB / 493.3 MB, free: 4.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.038e-05/0.1613, allocations: 41.7 kB / 493.3 MB, free: 3.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.1615, allocations: 312.1 kB / 493.6 MB, free: 3.648 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.1617, allocations: 315.4 kB / 493.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.162, allocations: 162.5 kB / 494.1 MB, free: 3.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1621, allocations: 366.8 kB / 494.4 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/0.1628, allocations: 469.7 kB / 494.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007012/0.1635, allocations: 0.5657 MB / 495.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.165, allocations: 1.117 MB / 496.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.165, allocations: 0 / 496.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002405/0.1674, allocations: 1.473 MB / 498 MB, free: 15.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.1674, allocations: 11.98 kB / 498 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1674, allocations: 3.938 kB / 498.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000906/0.1683, allocations: 332.7 kB / 498.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006651/0.169, allocations: 179.7 kB / 498.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005105/0.1741, allocations: 4.189 MB / 0.491 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.1746, allocations: 47.95 kB / 0.491 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/0.1747, allocations: 35.98 kB / 0.491 GB, free: 10.17 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.0004327/0.1751, allocations: 298.3 kB / 0.4913 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.1753, allocations: 55.34 kB / 0.4914 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/0.1778, allocations: 1.567 MB / 0.4929 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.1779, allocations: 12 kB / 0.4929 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1779, allocations: 4 kB / 0.4929 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.1779, allocations: 7.969 kB / 0.4929 GB, free: 8.211 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.00556/0.1835, allocations: 3.027 MB / 0.4959 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.1835, allocations: 4 kB / 0.4959 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/0.1841, allocations: 172.1 kB / 0.4961 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007587/0.1849, allocations: 288.5 kB / 0.4963 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/0.1849, allocations: 35.98 kB / 0.4964 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004652/0.1896, allocations: 3.891 MB / 0.5002 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.1896, allocations: 8 kB / 0.5002 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2167/0.4064, allocations: 1.595 MB / 0.5017 GB, free: 56.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.4066, allocations: 148.1 kB / 0.5019 GB, free: 56.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.783e-05/0.4067, allocations: 28.47 kB / 0.5019 GB, free: 56.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.4071, allocations: 37.94 kB / 0.5019 GB, free: 56.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.4073, allocations: 86.52 kB / 0.502 GB, free: 56.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.818e-05/0.4074, allocations: 37.5 kB / 0.502 GB, free: 56.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002856/0.4077, allocations: 258.6 kB / 0.5023 GB, free: 56.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4077, allocations: 0 / 0.5023 GB, free: 56.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008912/0.4086, allocations: 303.6 kB / 0.5026 GB, free: 56.03 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.000144/0.4088, allocations: 124.3 kB / 0.5027 GB, free: 55.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.4107, allocations: 1.406 MB / 0.5041 GB, free: 55.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4107, allocations: 2.625 kB / 0.5041 GB, free: 55.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.4118, allocations: 0.8448 MB / 0.5049 GB, free: 55.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.4124, allocations: 106.7 kB / 0.505 GB, free: 55.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.415, allocations: 1.782 MB / 0.5067 GB, free: 54.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.4156, allocations: 1.071 MB / 0.5078 GB, free: 53.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000417/0.416, allocations: 180.8 kB / 0.508 GB, free: 53.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.4162, allocations: 64.77 kB / 0.508 GB, free: 53.75 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4162, allocations: 3.688 kB / 0.508 GB, free: 53.75 MB / 382.1 MB Notification: Performance of Templates: time 0.01838/0.4346, allocations: 10.13 MB / 0.5179 GB, free: 51.41 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins1/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