Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007751/0.0007752, allocations: 94.83 kB / 16.32 MB, free: 5.602 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.0007279/0.000728, allocations: 185.5 kB / 17.21 MB, free: 5.52 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.2/1.2, allocations: 223.3 MB / 241.2 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1608/0.1608, allocations: 38.09 MB / 330.4 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003067, allocations: 8 kB / 400.1 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08559/0.08591, allocations: 59.16 MB / 459.2 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003326/0.08927, allocations: 3.175 MB / 462.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.09098, allocations: 1.388 MB / 463.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.09114, allocations: 15.88 kB / 463.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.0913, allocations: 35.75 kB / 463.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005243/0.09183, allocations: 219.1 kB / 464.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.09208, allocations: 95.75 kB / 464.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004083/0.0925, allocations: 438.8 kB / 464.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005459/0.09305, allocations: 311.1 kB / 464.9 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.09326, allocations: 119.5 kB / 465 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.09348, allocations: 151.5 kB / 465.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.09352, allocations: 8 kB / 465.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.09382, allocations: 167.6 kB / 465.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.872e-05/0.09392, allocations: 91.73 kB / 465.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.09398, allocations: 65.58 kB / 465.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.09425, allocations: 247.4 kB / 465.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.09427, allocations: 0 / 465.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09427, allocations: 0 / 465.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.09428, allocations: 0 / 465.7 MB, free: 0.8906 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005275/0.09482, allocations: 474.6 kB / 466.2 MB, free: 388 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.09485, allocations: 8.031 kB / 466.2 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007473/0.09561, allocations: 95.61 kB / 466.3 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.09589, allocations: 259.2 kB / 466.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.09593, allocations: 23.91 kB / 466.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.09597, allocations: 16 kB / 466.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004294/0.09641, allocations: 310.2 kB / 466.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.09643, allocations: 4 kB / 466.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.09646, allocations: 12 kB / 466.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.917e-05/0.09649, allocations: 19.92 kB / 466.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.09688, allocations: 279.8 kB / 467.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.09832, allocations: 1.305 MB / 468.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.09882, allocations: 213.2 kB / 468.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.747e-05/0.09892, allocations: 53.75 kB / 468.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.09895, allocations: 4 kB / 468.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.09897, allocations: 38.56 kB / 468.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.09898, allocations: 0 / 468.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007952/0.09978, allocations: 426.4 kB / 469.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.09983, allocations: 81.05 kB / 469.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1, allocations: 198.5 kB / 469.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1, allocations: 29.7 kB / 469.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.1001, allocations: 159.8 kB / 469.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.1002, allocations: 51.3 kB / 469.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.1002, allocations: 4 kB / 469.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1003, allocations: 326.8 kB / 470.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.1004, allocations: 55.91 kB / 470.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1005, allocations: 149.7 kB / 470.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1006, allocations: 75.92 kB / 470.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1006, allocations: 0 / 470.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004032/0.101, allocations: 266.5 kB / 470.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1011, allocations: 11.98 kB / 470.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1011, allocations: 4 kB / 470.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/0.1013, allocations: 41.2 kB / 470.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1014, allocations: 43.98 kB / 470.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009745/0.1024, allocations: 1.343 MB / 472 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.1025, allocations: 7.984 kB / 472 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.1026, allocations: 16 kB / 472.1 MB, free: 10.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.1027, allocations: 154.2 kB / 472.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.1027, allocations: 19.8 kB / 472.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.1031, allocations: 187.4 kB / 472.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1031, allocations: 8.078 kB / 472.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.1031, allocations: 0 / 472.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1031, allocations: 4 kB / 472.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007079/0.1038, allocations: 0.5601 MB / 473 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1038, allocations: 4.094 kB / 473 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.254e-05/0.1039, allocations: 23.92 kB / 473 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.104, allocations: 32.83 kB / 473 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.1041, allocations: 7.953 kB / 473 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008829/0.1049, allocations: 1.323 MB / 474.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.105, allocations: 0 / 474.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.1053, allocations: 303.6 kB / 474.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.1054, allocations: 96.81 kB / 474.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.1054, allocations: 11.98 kB / 474.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.1055, allocations: 0 / 474.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.1055, allocations: 19.98 kB / 474.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1056, allocations: 4 kB / 474.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.919e-05/0.1057, allocations: 140.3 kB / 474.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1057, allocations: 0 / 474.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.106, allocations: 48 kB / 475 MB, free: 6.859 MB / 350.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.313e-05/0.1061, allocations: 103.2 kB / 475.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.1065, allocations: 278.5 kB / 475.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1065, allocations: 0 / 475.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.1067, allocations: 174.6 kB / 475.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1071, allocations: 29.06 kB / 475.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006797/0.1078, allocations: 0.5223 MB / 476.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1081, allocations: 0.7598 MB / 476.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.1082, allocations: 37.52 kB / 476.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.1082, allocations: 19.42 kB / 476.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1082, allocations: 0 / 476.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of Templates: time 0.00381/0.112, allocations: 1.539 MB / 478.4 MB, free: 3.309 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches