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.0007056/0.0007057, allocations: 88.25 kB / 16.65 MB, free: 6.59 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.000814/0.000814, allocations: 185.7 kB / 17.57 MB, free: 6.199 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.179/1.179, allocations: 223.3 MB / 241.6 MB, free: 14.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1558/0.1558, allocations: 38.09 MB / 330.8 MB, free: 8.613 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002685/0.0002685, allocations: 8.844 kB / 400.7 MB, free: 34.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08696/0.08725, allocations: 59.16 MB / 459.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003512/0.09081, allocations: 3.318 MB / 463.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.09259, allocations: 1.481 MB / 464.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.09276, allocations: 11.94 kB / 464.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.09291, allocations: 27.78 kB / 464.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006182/0.09353, allocations: 263.2 kB / 465 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.09379, allocations: 103.8 kB / 465.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005217/0.09432, allocations: 0.5689 MB / 465.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005573/0.09489, allocations: 314.9 kB / 466 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.09511, allocations: 119.4 kB / 466.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.09535, allocations: 159.5 kB / 466.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.09538, allocations: 11.94 kB / 466.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005124/0.0959, allocations: 375.1 kB / 466.6 MB, free: 308 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.09602, allocations: 91.75 kB / 466.7 MB, free: 216 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.09613, allocations: 121.2 kB / 466.8 MB, free: 88 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004343/0.09657, allocations: 358.8 kB / 467.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.09658, allocations: 0 / 467.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09659, allocations: 0 / 467.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.0966, allocations: 0 / 467.2 MB, free: 15.73 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000561/0.09716, allocations: 478.8 kB / 467.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.0972, allocations: 8.031 kB / 467.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007787/0.09799, allocations: 92.55 kB / 467.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.09828, allocations: 262.4 kB / 468 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.09831, allocations: 24.31 kB / 468 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.09836, allocations: 15.94 kB / 468 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.0988, allocations: 310.4 kB / 468.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.09882, allocations: 7.844 kB / 468.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.09885, allocations: 8 kB / 468.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.09889, allocations: 19.98 kB / 468.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.09928, allocations: 283.7 kB / 468.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.1007, allocations: 1.309 MB / 470 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.1012, allocations: 205.1 kB / 470.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.1013, allocations: 69.69 kB / 470.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1014, allocations: 0 / 470.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1014, allocations: 46.56 kB / 470.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.1014, allocations: 0 / 470.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008214/0.1022, allocations: 430.5 kB / 470.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.1023, allocations: 77.11 kB / 470.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.1024, allocations: 198.3 kB / 471 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1025, allocations: 29.7 kB / 471 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.1025, allocations: 155.8 kB / 471.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.1026, allocations: 55.28 kB / 471.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.1026, allocations: 21.7 kB / 471.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.1027, allocations: 330.8 kB / 471.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.828e-05/0.1028, allocations: 59.94 kB / 471.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.1029, allocations: 145.7 kB / 471.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.1032, allocations: 229.2 kB / 472 MB, free: 10.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1032, allocations: 4 kB / 472 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003907/0.1036, allocations: 261.9 kB / 472.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1036, allocations: 11.94 kB / 472.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1036, allocations: 4 kB / 472.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.1038, allocations: 41.27 kB / 472.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.104, allocations: 43.92 kB / 472.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009048/0.1049, allocations: 1.339 MB / 473.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.105, allocations: 12 kB / 473.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.105, allocations: 8 kB / 473.7 MB, free: 8.656 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 (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.0001234/0.1052, allocations: 154.2 kB / 473.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.1052, allocations: 15.81 kB / 473.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.1055, allocations: 192 kB / 474 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1056, allocations: 4 kB / 474 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1056, allocations: 0 / 474 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1056, allocations: 3.938 kB / 474 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006826/0.1063, allocations: 0.5718 MB / 474.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1063, allocations: 0 / 474.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.1064, allocations: 16 kB / 474.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.1065, allocations: 36.81 kB / 474.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1065, allocations: 4 kB / 474.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008283/0.1073, allocations: 1.327 MB / 476 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1074, allocations: 0 / 476 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.1077, allocations: 295.6 kB / 476.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.1077, allocations: 92.91 kB / 476.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.1078, allocations: 8 kB / 476.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.389e-05/0.1079, allocations: 3.938 kB / 476.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.1079, allocations: 19.98 kB / 476.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.1079, allocations: 4 kB / 476.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.108, allocations: 144.3 kB / 476.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.108, allocations: 3.938 kB / 476.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.1084, allocations: 55.98 kB / 476.6 MB, free: 5.461 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 (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 Backend phase and start with SimCode phase: time 8.603e-05/0.1085, allocations: 95.19 kB / 476.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003956/0.1089, allocations: 274.2 kB / 477 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1089, allocations: 0 / 477 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.1091, allocations: 174.6 kB / 477.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.1095, allocations: 33.11 kB / 477.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006474/0.1101, allocations: 0.5377 MB / 477.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.1104, allocations: 0.7635 MB / 478.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.1105, allocations: 33.52 kB / 478.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.1106, allocations: 23.44 kB / 478.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1106, allocations: 0 / 478.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of Templates: time 0.003667/0.1142, allocations: 1.583 MB / 480.1 MB, free: 1.855 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