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.001406/0.001406, allocations: 107.9 kB / 17.74 MB, free: 5.336 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.001544/0.001544, allocations: 198.5 kB / 18.68 MB, free: 4.41 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.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1709/0.1709, allocations: 38.04 MB / 330.6 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.89 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3042, allocations: 58.06 MB / 0.5048 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003944/0.3082, allocations: 3.427 MB / 0.5081 GB, free: 5.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.3099, allocations: 1.442 MB / 0.5095 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.31, allocations: 10.12 kB / 0.5095 GB, free: 4.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007271/0.3107, allocations: 252.3 kB / 0.5098 GB, free: 4.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.3112, allocations: 282 kB / 0.51 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.3115, allocations: 122.6 kB / 0.5102 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.3119, allocations: 342.2 kB / 0.5105 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.3121, allocations: 129.3 kB / 0.5106 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.3123, allocations: 151.4 kB / 0.5108 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.3125, allocations: 155.7 kB / 0.5109 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.3126, allocations: 14.25 kB / 0.5109 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.313, allocations: 304.8 kB / 0.5112 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.3131, allocations: 98.52 kB / 0.5113 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3132, allocations: 107.9 kB / 0.5114 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.3137, allocations: 350.8 kB / 0.5117 GB, free: 3.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3137, allocations: 1.125 kB / 0.5117 GB, free: 3.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3137, allocations: 0 / 0.5117 GB, free: 3.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3137, allocations: 0 / 0.5117 GB, free: 3.371 MB / 382.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.0005642/0.3143, allocations: 0.4997 MB / 0.5122 GB, free: 2.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.3143, allocations: 8.125 kB / 0.5122 GB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008593/0.3152, allocations: 90.83 kB / 0.5123 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.3155, allocations: 278 kB / 0.5126 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3155, allocations: 17.33 kB / 0.5126 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.3156, allocations: 23.97 kB / 0.5126 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.316, allocations: 316.2 kB / 0.5129 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.316, allocations: 4 kB / 0.5129 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.3161, allocations: 7.141 kB / 0.5129 GB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.3161, allocations: 19.38 kB / 0.513 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.3165, allocations: 287.1 kB / 0.5132 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.318, allocations: 1.287 MB / 0.5145 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.3185, allocations: 211.3 kB / 0.5147 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.597e-05/0.3186, allocations: 57.73 kB / 0.5147 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3186, allocations: 9.812 kB / 0.5148 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.3187, allocations: 37.42 kB / 0.5148 GB, free: 1.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.3187, allocations: 0 / 0.5148 GB, free: 1.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008484/0.3195, allocations: 430.2 kB / 0.5152 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.3196, allocations: 78.95 kB / 0.5153 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.3197, allocations: 198.1 kB / 0.5155 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.3197, allocations: 30.73 kB / 0.5155 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.3198, allocations: 161.1 kB / 0.5156 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.3198, allocations: 46.58 kB / 0.5157 GB, free: 0.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.3199, allocations: 49.58 kB / 0.5157 GB, free: 476 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.32, allocations: 333.2 kB / 0.5161 GB, free: 144 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.32, allocations: 53.08 kB / 0.5161 GB, free: 128 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.3202, allocations: 146 kB / 0.5162 GB, free: 15.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.3205, allocations: 232.1 kB / 0.5165 GB, free: 15.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3205, allocations: 1.438 kB / 0.5165 GB, free: 15.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004472/0.3209, allocations: 269.5 kB / 0.5167 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.321, allocations: 9.938 kB / 0.5167 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.321, allocations: 4.094 kB / 0.5167 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.3212, allocations: 37.31 kB / 0.5168 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.3214, allocations: 46.14 kB / 0.5168 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.3225, allocations: 1.439 MB / 0.5182 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.3227, allocations: 13.84 kB / 0.5182 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.3227, allocations: 9.375 kB / 0.5182 GB, free: 14.21 MB / 398.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 (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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.3229, allocations: 157.8 kB / 0.5184 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.3229, allocations: 20.16 kB / 0.5184 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.3233, allocations: 194.9 kB / 0.5186 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3234, allocations: 2.141 kB / 0.5186 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3234, allocations: 1.094 kB / 0.5186 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.3234, allocations: 91.02 kB / 0.5187 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.3235, allocations: 6.953 kB / 0.5187 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3236, allocations: 10.81 kB / 0.5187 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.3236, allocations: 13.08 kB / 0.5187 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004196/0.324, allocations: 333.9 kB / 0.519 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004228/0.3245, allocations: 447.2 kB / 0.5195 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.278e-05/0.3246, allocations: 48.17 kB / 0.5195 GB, free: 13.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.3247, allocations: 142.6 kB / 0.5197 GB, free: 13.16 MB / 398.1 MB Notification: Performance of Backend: time 7.12e-07/0.3247, allocations: 0 / 0.5197 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.3259, allocations: 462.4 kB / 0.5201 GB, free: 12.91 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009266/0.3268, allocations: 0.8572 MB / 0.5209 GB, free: 12.19 MB / 398.1 MB Notification: Performance of Templates: time 0.006662/0.3335, allocations: 3.021 MB / 0.5239 GB, free: 11.86 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches